LuaBridge:Methods:Object:GetEntryFromGUID

From ArcEmu-Wiki
Jump to: navigation, search

Returns the entry of the object.
This is similar to GetEntry() except performs bit manipulation on the objects GUID to retrieve the entry.

Usage:

local function OnCombat( _self)
 assert( _self:GetEntry() == _self:GetEntryFromGUID() ) --This two should return the same number.
end

Back to Methods

Personal tools