TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
BattlegroundNA.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 __BATTLEGROUNDNA_H
19 #define __BATTLEGROUNDNA_H
20 
21 #include "Arena.h"
22 
24 {
32 };
33 
35 {
42 };
43 
44 class BattlegroundNA : public Arena
45 {
46  public:
48 
49  /* inherited from BattlegroundClass */
50  void StartingEventCloseDoors() override;
51  void StartingEventOpenDoors() override;
52 
53  void HandleAreaTrigger(Player* source, uint32 trigger, bool entered) override;
54  bool SetupBattleground() override;
56 };
57 #endif
Definition: BattlegroundNA.h:37
Definition: BattlegroundNA.h:26
Definition: BattlegroundNA.h:28
Definition: BattlegroundNA.h:30
Definition: BattlegroundNA.h:29
Definition: BattlegroundNA.h:41
void StartingEventOpenDoors() override
Definition: BattlegroundNA.cpp:34
BattlegroundNA()
Definition: BattlegroundNA.cpp:23
Definition: BattlegroundNA.h:44
BattlegroundNAObjectTypes
Definition: BattlegroundNA.h:23
void HandleAreaTrigger(Player *source, uint32 trigger, bool entered) override
Definition: BattlegroundNA.cpp:43
Definition: BattlegroundNA.h:36
Definition: BattlegroundNA.h:40
Definition: Arena.h:39
Definition: BattlegroundNA.h:31
uint32_t uint32
Definition: Define.h:150
Definition: WorldStatePackets.h:27
void FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates &packet) override
Definition: BattlegroundNA.cpp:59
void StartingEventCloseDoors() override
Definition: BattlegroundNA.cpp:28
bool SetupBattleground() override
Definition: BattlegroundNA.cpp:65
BattlegroundNAGameObjects
Definition: BattlegroundNA.h:34
Definition: BattlegroundNA.h:27
Definition: BattlegroundNA.h:25
Definition: BattlegroundNA.h:39
Definition: BattlegroundNA.h:38