feature: add GetUnitFlags(), GetUnitFlagsTwo(), SetUnitFlags(flags), SetUnitFlagsTwo(flags), PlayerEvent OnApplyAura/OnRemoveAura (#137)

This commit is contained in:
Krisande
2023-05-21 14:05:59 +02:00
committed by GitHub
parent 8bcec886b9
commit 92818c6311
8 changed files with 93 additions and 1 deletions

View File

@@ -801,6 +801,16 @@ public:
{
return sEluna->OnCanGroupInvite(player, memberName);
}
void OnApplyAura(Player* player, Aura* aura, bool isNewAura)
{
return sEluna->OnApplyAura(player, aura, isNewAura);
}
void OnRemoveAura(Player* player, Aura* aura, bool isExpired)
{
return sEluna->OnRemoveAura(player, aura, isExpired);
}
};
class Eluna_ServerScript : public ServerScript