mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 09:39:11 +00:00
feat(Scripting/Hooks): Implement OnGameEventCheck() hook (#10761)
This commit is contained in:
@@ -33,3 +33,11 @@ void ScriptMgr::OnGameEventStop(uint16 EventID)
|
||||
script->OnStop(EventID);
|
||||
});
|
||||
}
|
||||
|
||||
void ScriptMgr::OnGameEventCheck(uint16 EventID)
|
||||
{
|
||||
ExecuteScript<GameEventScript>([&](GameEventScript* script)
|
||||
{
|
||||
script->OnEventCheck(EventID);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user