[Quest API] Add back removed lua class properties (#1742)

Fixes regression from 7b6decae
This commit is contained in:
hg
2021-11-12 21:16:39 -05:00
committed by GitHub
parent 1a69218045
commit 3c87480553
5 changed files with 11 additions and 1 deletions
+2
View File
@@ -141,6 +141,8 @@ uint32 Lua_Spawn::GetKillCount() {
luabind::scope lua_register_spawn() {
return luabind::class_<Lua_Spawn>("Spawn")
.def(luabind::constructor<>())
.property("null", &Lua_Spawn::Null)
.property("valid", &Lua_Spawn::Valid)
.def("CurrentNPCID", (uint32(Lua_Spawn::*)(void))&Lua_Spawn::CurrentNPCID)
.def("Depop", (void(Lua_Spawn::*)(void))&Lua_Spawn::Depop)
.def("Disable", (void(Lua_Spawn::*)(void))&Lua_Spawn::Disable)