From 5c7e2cfff278a4d2912c7246bf23276b32c98a1f Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 18 Jun 2013 14:09:04 -0700 Subject: [PATCH] Updated Lua Door (markdown) --- Lua-Door.md | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/Lua-Door.md b/Lua-Door.md index c0ce02e..3a41b52 100644 --- a/Lua-Door.md +++ b/Lua-Door.md @@ -1 +1,38 @@ -PH \ No newline at end of file +Lua_Door is a class exported to Lua that represent the Door object from EQEmu. All Lua_Door are also [Lua_Entity](Lua-Entity). + +### Properties +``` +door.null -- Returns true if this object is null +door.valid -- Returns true if this object is not null +``` + +### Member Functions +``` +Door() -- Creates a null Door +void SetDoorName(const char *name); +const char *GetDoorName(); +float GetX(); +float GetY(); +float GetZ(); +float GetHeading(); +void SetX(float x); +void SetY(float y); +void SetZ(float z); +void SetHeading(float h); +void SetLocation(float x, float y, float z); +uint32 GetDoorDBID(); +uint32 GetDoorID(); +void SetSize(uint32 sz); +uint32 GetSize(); +void SetIncline(uint32 incline); +uint32 GetIncline(); +void SetOpenType(uint32 type); +uint32 GetOpenType(); +void SetLockPick(uint32 pick); +uint32 GetLockPick(); +void SetKeyItem(uint32 key); +uint32 GetKeyItem(); +void SetNoKeyring(int type); +int GetNoKeyring(); +void CreateDatabaseEntry(); +``` \ No newline at end of file