mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix: GameEvent Hooks (#44)
This commit is contained in:
@@ -367,12 +367,12 @@ class Eluna_GameEventScript : public GameEventScript
|
|||||||
public:
|
public:
|
||||||
Eluna_GameEventScript() : GameEventScript("Eluna_GameEventScript") { }
|
Eluna_GameEventScript() : GameEventScript("Eluna_GameEventScript") { }
|
||||||
|
|
||||||
void OnEventStart(uint16 eventID)
|
void OnStart(uint16 eventID) override
|
||||||
{
|
{
|
||||||
sEluna->OnGameEventStart(eventID);
|
sEluna->OnGameEventStart(eventID);
|
||||||
}
|
}
|
||||||
|
|
||||||
void OnEventStop(uint16 eventID)
|
void OnStop(uint16 eventID) override
|
||||||
{
|
{
|
||||||
sEluna->OnGameEventStop(eventID);
|
sEluna->OnGameEventStop(eventID);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user