mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-06 00:32:25 +00:00
Add EVENT_ENTER_ZONE
This commit is contained in:
parent
df7153d963
commit
9a75d348be
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user