Added new hook for post reload

This commit is contained in:
Foereaper
2014-09-10 01:28:52 +02:00
parent b6663ba2d1
commit 7be917335a
4 changed files with 14 additions and 3 deletions

View File

@@ -116,6 +116,13 @@ void Eluna::OnLuaStateClose()
ENDCALL();
}
void Eluna::OnLuaStateOpen()
{
EVENT_BEGIN(ServerEventBindings, ELUNA_EVENT_ON_LUA_STATE_OPEN, return);
EVENT_EXECUTE(0);
ENDCALL();
}
// areatrigger
bool Eluna::OnAreaTrigger(Player* pPlayer, AreaTriggerEntry const* pTrigger)
{