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.

Synopsis

typeId = GetGUIDType( guid )

Arguments

number guid

GUID of an Object.

Valid numbers: integers from 0 to 18,446,744,073,709,551,615.

Returns

number typeId

Type ID of the Object.

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

Generated on
©2016 - Eluna Lua Engine