mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 17:26:30 +00:00
Fix door functions
This commit is contained in:
+2
-1
@@ -22,7 +22,8 @@
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
enum { //values for pTimerType
|
||||
enum : int { //values for pTimerType
|
||||
pTimerNegativeItemReuse = -1, // these grow down basically, we will have item ID * -1 for the timer ID
|
||||
pTimerStartAdventureTimer = 1,
|
||||
pTimerSurnameChange = 2,
|
||||
pTimerFeignDeath = 3,
|
||||
|
||||
@@ -200,6 +200,8 @@ luabind::scope lua_register_door() {
|
||||
.def("GetIncline", (uint32(Lua_Door::*)(void))&Lua_Door::GetIncline)
|
||||
.def("SetOpenType", (void(Lua_Door::*)(uint32))&Lua_Door::SetOpenType)
|
||||
.def("GetOpenType", (uint32(Lua_Door::*)(void))&Lua_Door::GetOpenType)
|
||||
.def("SetDisableTimer", (void(Lua_Door::*)(bool))&Lua_Door::SetDisableTimer)
|
||||
.def("GetDisableTimer", (bool(Lua_Door::*)(void))&Lua_Door::GetDisableTimer)
|
||||
.def("SetLockPick", (void(Lua_Door::*)(uint32))&Lua_Door::SetLockPick)
|
||||
.def("GetLockPick", (uint32(Lua_Door::*)(void))&Lua_Door::GetLockPick)
|
||||
.def("SetKeyItem", (void(Lua_Door::*)(uint32))&Lua_Door::SetKeyItem)
|
||||
|
||||
Reference in New Issue
Block a user