Returns information about a player character identified by globally unique identifier. Returns
nil if given the GUID of a non-player unit. The leading 0x may be omitted.
See also Unit functions.
guid- Globally unique identifier of a player unit (
class- Localized name of the unit's class (
classFilename- Non-localized token identifying the unit's class (
race- Localized name of the unit's race (
raceFilename- Non-localized token identifying the unit's race (
sex- Number identifying the unit's gender (
1- Neuter / Unknown
name- Unit's name (
realm- Unit's realm (empty string if from the same realm) (