TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlegroundRL.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3  * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of the GNU General Public License as published by the
7  * Free Software Foundation; either version 2 of the License, or (at your
8  * option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful, but WITHOUT
11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13  * more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program. If not, see <http://www.gnu.org/licenses/>.
17  */
18 #ifndef __BATTLEGROUNDRL_H
19 #define __BATTLEGROUNDRL_H
20 
21 #include "Arena.h"
22 
24 {
30 };
31 
33 {
38 };
39 
40 class BattlegroundRL : public Arena
41 {
42  public:
44 
45  /* inherited from BattlegroundClass */
47  void StartingEventCloseDoors() override;
48  void StartingEventOpenDoors() override;
49 
50  void HandleAreaTrigger(Player* source, uint32 trigger, bool entered) override;
51  bool SetupBattleground() override;
52 };
53 #endif
void HandleAreaTrigger(Player *source, uint32 trigger, bool entered) override
Definition: BattlegroundRL.cpp:43
Definition: BattlegroundRL.h:36
BattlegroundRLGameObjects
Definition: BattlegroundRL.h:32
void StartingEventCloseDoors() override
Definition: BattlegroundRL.cpp:28
Definition: BattlegroundRL.h:25
Definition: BattlegroundRL.h:29
Definition: BattlegroundRL.h:27
Definition: Arena.h:39
BattlegroundRLObjectTypes
Definition: BattlegroundRL.h:23
uint32_t uint32
Definition: Define.h:150
Definition: WorldStatePackets.h:27
Definition: BattlegroundRL.h:40
Definition: BattlegroundRL.h:26
bool SetupBattleground() override
Definition: BattlegroundRL.cpp:65
void FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates &packet) override
Definition: BattlegroundRL.cpp:59
void StartingEventOpenDoors() override
Definition: BattlegroundRL.cpp:34
Definition: BattlegroundRL.h:28
Definition: BattlegroundRL.h:34
Definition: BattlegroundRL.h:37
Definition: BattlegroundRL.h:35
BattlegroundRL()
Definition: BattlegroundRL.cpp:23