Core/Battleground: Moved DoAction hook to ZoneScript
Port From (https://github.com/TrinityCore/TrinityCore/commit/22614d6bcc1a9c201d16779a93ee886facf6f7b4)
This commit is contained in:
@@ -1895,9 +1895,6 @@ namespace Game.BattleGrounds
|
||||
|
||||
public override void ProcessEvent(WorldObject obj, uint eventId, WorldObject invoker = null) { }
|
||||
|
||||
// this function can be used by spell to interact with the BG map
|
||||
public virtual void DoAction(uint action, ulong arg) { }
|
||||
|
||||
public virtual void HandlePlayerResurrect(Player player) { }
|
||||
|
||||
public virtual WorldSafeLocsEntry GetExploitTeleportLocation(Team team) { return null; }
|
||||
|
||||
@@ -43,7 +43,7 @@ namespace Game.Maps
|
||||
public virtual void SetData(uint dataId, uint value) { }
|
||||
|
||||
public virtual void ProcessEvent(WorldObject obj, uint eventId, WorldObject invoker) { }
|
||||
|
||||
public virtual void DoAction(uint actionId, WorldObject source = null, WorldObject target = null) { }
|
||||
public virtual void OnFlagStateChange(GameObject flagInBase, FlagState oldValue, FlagState newValue, Player player) { }
|
||||
|
||||
public virtual bool CanCaptureFlag(AreaTrigger areaTrigger, Player player) { return false; }
|
||||
|
||||
Reference in New Issue
Block a user