Fandom

WoWWiki

API GetPlayerInfoByGUID

104,753pages on
this wiki
Add New Page
Talk0 Share
WoW API < GetPlayerInfoByGUID

Returns basic information about another player from their GUID.

locClass, engClass, locRace, engRace, gender = GetPlayerInfoByGUID("guid")

Arguments Edit

guid 
String - The GUID of the player you're querying about.

Returns Edit

locClass 
String - Class of the character in question (localized)
engClass 
String - Class of the character in question (in English)
locRace 
String - Race of the character in question (localized)
engRace 
String - Race of the character in question (in English)
gender 
String - Gender of the character in question (2: male, 3: female).

Notes Edit

  • This function was added in Patch 3.2
  • The information is not encoded in the GUID itself; as such, no data is available until the client has encountered the queried GUID.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.