forked from EQEmu/Server
-
Notifications
You must be signed in to change notification settings - Fork 0
Lua Entity
KimLS edited this page Jun 23, 2013
·
5 revisions
Entity is a class exported to Lua that represent the Entity object from EQEmu.
entity.null -- Returns true if this object is null
entity.valid -- Returns true if this object is not null
Entity(); -- Creates a null entity
Boolean IsClient();
Boolean IsNPC();
Boolean IsMob();
Boolean IsMerc();
Boolean IsCorpse();
Boolean IsPlayerCorpse();
Boolean IsNPCCorpse();
Boolean IsObject();
Boolean IsDoor();
Boolean IsTrap();
Boolean IsBeacon();
Integer GetID();
Client CastToClient();
NPC CastToNPC();
Mob CastToMob();
Corpse CastToCorpse();
Object CastToObject();
Door CastToDoor();