Method Global:GetGUIDType [-] [+]

Returns the type ID from a GUID.

Type ID is different for each type (Player, Creature, GameObject, etc.).

GUID consist of entry ID, low GUID, and type ID.


typeId = GetGUIDType( guid )


uint64 guid

GUID of an Object.


number typeId

Type ID of the Object.

Valid numbers: integers from -2,147,483,647 to 2,147,483,647.

Generated on 11/04/2018
©2016 - Eluna Lua Engine