mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-04 10:12:26 +00:00
Updated Lua Entity (markdown)
parent
49eff25bdd
commit
001e2ebdc1
@ -2,29 +2,30 @@ Lua_Entity is a class exported to Lua that represent the Entity object from EQEm
|
|||||||
|
|
||||||
### Properties
|
### Properties
|
||||||
```
|
```
|
||||||
entity.null - Returns true if this object is null
|
entity.null -- Returns true if this object is null
|
||||||
entity.valid - Returns true if this object is not null
|
entity.valid -- Returns true if this object is not null
|
||||||
```
|
```
|
||||||
|
|
||||||
### Member Functions
|
### Member Functions
|
||||||
```
|
```
|
||||||
Entity() - Creates a null entity
|
Entity(); -- Creates a null entity
|
||||||
bool IsClient()
|
bool IsClient();
|
||||||
bool IsNPC()
|
bool IsNPC();
|
||||||
bool IsMob()
|
bool IsMob();
|
||||||
bool IsMerc()
|
bool IsMerc();
|
||||||
bool IsCorpse()
|
bool IsCorpse();
|
||||||
bool IsPlayerCorpse()
|
bool IsPlayerCorpse();
|
||||||
bool IsNPCCorpse()
|
bool IsNPCCorpse();
|
||||||
bool IsObject()
|
bool IsObject();
|
||||||
bool IsDoor()
|
bool IsDoor();
|
||||||
bool IsTrap()
|
bool IsTrap();
|
||||||
bool IsBeacon()
|
bool IsBeacon();
|
||||||
int GetID()
|
int GetID();
|
||||||
Lua_Client CastToClient()
|
|
||||||
Lua_NPC CastToNPC()
|
Lua_Client CastToClient();
|
||||||
Lua_Mob CastToMob()
|
Lua_NPC CastToNPC();
|
||||||
Lua_Corpse CastToCorpse()
|
Lua_Mob CastToMob();
|
||||||
Lua_Object CastToObject()
|
Lua_Corpse CastToCorpse();
|
||||||
Lua_Door CastToDoor()
|
Lua_Object CastToObject();
|
||||||
|
Lua_Door CastToDoor();
|
||||||
```
|
```
|
||||||
Loading…
x
Reference in New Issue
Block a user