GetPlayerInfoByGUID
functionguessedavailable in: camelot
Returns character info for another player from their GUID.
function GetPlayerInfoByGUID( guid: string): (string?, string?, string?, string?, number?, string?, string?, number?)Parameters
| name | type | description |
|---|---|---|
guid | string | The GUID of the player you're querying. |
Returns
| # | name | type | description |
|---|---|---|---|
| 1 | localizedClass | string? | Localized class name. |
| 2 | englishClass | string? | Localization-independent class name. |
| 3 | localizedRace | string? | Localized race name. |
| 4 | englishRace | string? | Localization-independent race name. |
| 5 | sex | number? | Gender ID of the character. 2 for male, or 3 for female. |
| 6 | name | string? | The name of the character. |
| 7 | realmName | string? | Normalized realm name of the character. Returns an empty string if the character is from the same realm as the player. |
| 8 | level | number? |
Blizzard's documentation says it may return nothing.
In wowlua's emulated client
guessedThe answer is worked out from Blizzard's documentation, its UI code and the function's name, and not checked against the client. what the statuses mean
Restrictions
sources
Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (PlayerScript system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.