aboutsummaryrefslogtreecommitdiff
path: root/src/game/BattleGround.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/BattleGround.h')
-rw-r--r--src/game/BattleGround.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/BattleGround.h b/src/game/BattleGround.h
index 38772f9fd33..275085f4ca7 100644
--- a/src/game/BattleGround.h
+++ b/src/game/BattleGround.h
@@ -210,6 +210,12 @@ enum ArenaType
ARENA_TYPE_5v5 = 5
};
+enum ArenaWorldUnitState
+{
+ HORDE_WORLD_STATE = 0xE10,
+ ALLIANCE_WORLD_STATE = 0xE11
+};
+
enum BattleGroundType
{
TYPE_BATTLEGROUND = 3,
@@ -478,6 +484,7 @@ class BattleGround
void SetArenaTeamRatingChangeForTeam(uint32 Team, int32 RatingChange) { m_ArenaTeamRatingChanges[GetTeamIndexByTeamId(Team)] = RatingChange; }
int32 GetArenaTeamRatingChangeForTeam(uint32 Team) const { return m_ArenaTeamRatingChanges[GetTeamIndexByTeamId(Team)]; }
void CheckArenaWinConditions();
+ void UpdateArenaUnitWorldState();
/* Triggers handle */
// must be implemented in BG subclass