C_PlayerInfo .GUIDIsPlayer
Jump to navigation
Jump to search
Returns true if the GUID belongs to a player.
isPlayer = C_PlayerInfo.GUIDIsPlayer(guid)
Arguments
- guid
- string - The GUID to be checked.
Returns
- isPlayer
- boolean - True if the GUID represents a player unit, or false if not.
Details
- This function currently as of patch 9.0.2 only validates that the supplied GUID begins with the string
"Player-"
.
Patch changes
Patch 8.1.0 (2018-12-11): Added.