feat: add OnBattlegroundDesertion hook (#146)

This commit is contained in:
Kevin
2023-06-11 10:28:56 -03:00
committed by GitHub
parent 7ea0b975c2
commit 1abf24490e
6 changed files with 17 additions and 0 deletions

View File

@@ -801,6 +801,11 @@ public:
{
return sEluna->OnCanGroupInvite(player, memberName);
}
void OnBattlegroundDesertion(Player* player, const BattlegroundDesertionType type) override
{
sEluna->OnBattlegroundDesertion(player, type);
}
};
class Eluna_ServerScript : public ServerScript