forked from EQEmu/Server
-
Notifications
You must be signed in to change notification settings - Fork 0
Lua Door
Alex edited this page Jul 11, 2013
·
5 revisions
Door is a class exported to Lua that represent the Door object from EQEmu. All Door are also Entity.
door.null -- Returns true if this object is null
door.valid -- Returns true if this object is not null
Door() -- Creates a null Door
Void SetDoorName(String name);
String GetDoorName();
Real GetX();
Real GetY();
Real GetZ();
Real GetHeading();
Void SetX(Real x);
Void SetY(Real y);
Void SetZ(Real z);
Void SetHeading(Real h);
Void SetLocation(Real x, Real y, Real z);
Integer GetDoorDBID();
Integer GetDoorID();
Void SetSize(Integer sz);
Integer GetSize();
Void SetIncline(Integer incline);
Integer GetIncline();
Void SetOpenType(Integer type);
Integer GetOpenType();
Void SetLockPick(Integer pick);
Integer GetLockPick();
Void SetKeyItem(Integer key);
Integer GetKeyItem();
Void SetNoKeyring(Integer type);
Integer GetNoKeyring();
Void CreateDatabaseEntry();
Void ForceOpen(Mob sender);
Void ForceOpen(Mob sender, bool alt_mode);
Void ForceClose(Mob sender);
Void ForceClose(Mob sender, bool alt_mode);