Core/GameObjects: Implemented GAMEOBJECT_TYPE_CAPTURE_POINT
Port From (https://github.com/TrinityCore/TrinityCore/commit/19f64e66e58d3d7ebed6437a474a134e7c673ed6)
This commit is contained in:
@@ -105,5 +105,11 @@ namespace Game.AI
|
||||
|
||||
public virtual void SummonedCreatureDespawn(Creature summon) { }
|
||||
public virtual void SummonedCreatureDies(Creature summon, Unit killer) { }
|
||||
|
||||
// Called when the capture point gets assaulted by a player. Return true to disable default behaviour.
|
||||
public virtual bool OnCapturePointAssaulted(Player player) { return false; }
|
||||
|
||||
// Called when the capture point state gets updated. Return true to disable default behaviour.
|
||||
public virtual bool OnCapturePointUpdated(BattlegroundCapturePointState state) { return false; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user