Add EVENT_ENTER_ZONE

This commit is contained in:
Kinglykrab 2025-06-11 20:46:41 -04:00
parent df7153d963
commit 9a75d348be

View File

@ -3018,6 +3018,20 @@ void handle_zone_enter(
lua_setfield(L, -2, "other"); lua_setfield(L, -2, "other");
} }
void handle_zone_enter(
QuestInterface *parse,
lua_State* L,
Zone* zone,
std::string data,
uint32 extra_data,
std::vector<std::any> *extra_pointers
) {
Lua_Client l_client(std::any_cast<Client*>(extra_pointers->at(0)));
luabind::adl::object l_client_o = luabind::adl::object(L, l_client);
l_client_o.push(L);
lua_setfield(L, -2, "other");
}
void handle_zone_loot( void handle_zone_loot(
QuestInterface *parse, QuestInterface *parse,
lua_State* L, lua_State* L,