WoW:API GetPlayerInfoByGUID: Difference between revisions
Jump to navigation
Jump to search
(Created page with '{{stub|API}} localizedClass, englishClass, localizedRace, englishRace, sex = GetPlayerInfoByGUID("guid") Returns basic information about another player from their GUID [[Cate...') |
(→Details: The information is not encoded in the GUID.) |
||
Line 22: | Line 22: | ||
This function was added in patch 3.2 (August, 2009) | This function was added in patch 3.2 (August, 2009) | ||
The information is not encoded in the GUID itself: The function yields nothing until the game client saw anything from that GUID. | |||
[[Category:World of Warcraft API]] | [[Category:World of Warcraft API]] |
Revision as of 21:28, 7 November 2009
← WoW API < GetPlayerInfoByGUID
Returns basic information about another player from their GUID
localizedClass, englishClass, localizedRace, englishRace, sex = GetPlayerInfoByGUID("guid")
Parameters
Arguments
- guid
- String - The GUID of the player you're querying about
Returns
- localizedClass
- String - Class of the character in question (localized)
- englishClass
- String - Class of the character in question (in English)
- localizedRace
- String - Race of the character in question (localized)
- englishRace
- String - Race of the character in question (in English)
- sex
- String - Gender of the character in question
Example
Details
This function was added in patch 3.2 (August, 2009)
The information is not encoded in the GUID itself: The function yields nothing until the game client saw anything from that GUID.