diff options
Diffstat (limited to 'src/game/BattleGroundRL.h')
-rw-r--r-- | src/game/BattleGroundRL.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/BattleGroundRL.h b/src/game/BattleGroundRL.h index 7fb7ef60c2d..772c9dd0879 100644 --- a/src/game/BattleGroundRL.h +++ b/src/game/BattleGroundRL.h @@ -19,7 +19,9 @@ */ #ifndef __BATTLEGROUNDRL_H #define __BATTLEGROUNDRL_H + class BattleGround; + enum BattleGroundRLObjectTypes { BG_RL_OBJECT_DOOR_1 = 0, @@ -28,6 +30,7 @@ enum BattleGroundRLObjectTypes BG_RL_OBJECT_BUFF_2 = 3, BG_RL_OBJECT_MAX = 4 }; + enum BattleGroundRLObjects { BG_RL_OBJECT_TYPE_DOOR_1 = 185918, @@ -35,6 +38,7 @@ enum BattleGroundRLObjects BG_RL_OBJECT_TYPE_BUFF_1 = 184663, BG_RL_OBJECT_TYPE_BUFF_2 = 184664 }; + class BattleGroundRLScore : public BattleGroundScore { public: @@ -42,19 +46,23 @@ class BattleGroundRLScore : public BattleGroundScore virtual ~BattleGroundRLScore() {}; //TODO fix me }; + class BattleGroundRL : public BattleGround { friend class BattleGroundMgr; + public: BattleGroundRL(); ~BattleGroundRL(); void Update(uint32 diff); + /* inherited from BattlegroundClass */ virtual void AddPlayer(Player *plr); virtual void Reset(); virtual void FillInitialWorldStates(WorldPacket &d); virtual void StartingEventCloseDoors(); virtual void StartingEventOpenDoors(); + void RemovePlayer(Player *plr, uint64 guid); void HandleAreaTrigger(Player *Source, uint32 Trigger); bool SetupBattleGround(); |