Core/Instances: New ZoneScript hook - OnCreatureGroupDepleted

Port From (https://github.com/TrinityCore/TrinityCore/commit/ec2631eca3a397dffd2e525b34c131c283beb167)
This commit is contained in:
Hondacrx
2024-09-01 15:55:58 -04:00
parent 8edc440181
commit 86447c1692
3 changed files with 41 additions and 2 deletions
+3
View File
@@ -34,6 +34,9 @@ namespace Game.Maps
public virtual void OnUnitDeath(Unit unit) { }
// Triggers when the CreatureGroup no longer has any alive members (either last alive member dies or is removed from the group)
public virtual void OnCreatureGroupDepleted(CreatureGroup creatureGroup) { }
//All-purpose data storage 64 bit
public virtual ObjectGuid GetGuidData(uint DataId) { return ObjectGuid.Empty; }
public virtual void SetGuidData(uint DataId, ObjectGuid Value) { }