TrinityCore
Loading...
Searching...
No Matches
BattlegroundRV.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17#ifndef __BATTLEGROUNDRV_H
18#define __BATTLEGROUNDRV_H
19
20#include "Arena.h"
21
50
77
91
92class BattlegroundRV : public Arena
93{
94 public:
96
97 /* inherited from BattlegroundClass */
98 void StartingEventOpenDoors() override;
100
101 void HandleAreaTrigger(Player* Source, uint32 Trigger) override;
102 bool SetupBattleground() override;
103
104 private:
105 void PostUpdateImpl(uint32 diff) override;
106
108
112};
113#endif
BattlegroundRVObjectTypes
@ BG_RV_OBJECT_PILAR_1
@ BG_RV_OBJECT_PULLEY_2
@ BG_RV_OBJECT_PILAR_COLLISION_1
@ BG_RV_OBJECT_PILAR_4
@ BG_RV_OBJECT_ELEVATOR_1
@ BG_RV_OBJECT_MAX
@ BG_RV_OBJECT_PILAR_COLLISION_3
@ BG_RV_OBJECT_FIRE_2
@ BG_RV_OBJECT_GEAR_1
@ BG_RV_OBJECT_ELEVATOR_2
@ BG_RV_OBJECT_FIREDOOR_2
@ BG_RV_OBJECT_FIREDOOR_1
@ BG_RV_OBJECT_PILAR_COLLISION_4
@ BG_RV_OBJECT_PULLEY_1
@ BG_RV_OBJECT_GEAR_2
@ BG_RV_OBJECT_PILAR_2
@ BG_RV_OBJECT_PILAR_COLLISION_2
@ BG_RV_OBJECT_BUFF_1
@ BG_RV_OBJECT_BUFF_2
@ BG_RV_OBJECT_FIRE_1
@ BG_RV_OBJECT_PILAR_3
BattlegroundRVGameObjects
@ BG_RV_OBJECT_TYPE_PILAR_2
@ BG_RV_OBJECT_TYPE_PILAR_1
@ BG_RV_OBJECT_TYPE_PILAR_4
@ BG_RV_OBJECT_TYPE_ELEVATOR_1
@ BG_RV_OBJECT_TYPE_BUFF_1
@ BG_RV_OBJECT_TYPE_BUFF_2
@ BG_RV_OBJECT_TYPE_PULLEY_2
@ BG_RV_OBJECT_TYPE_PILAR_COLLISION_2
@ BG_RV_OBJECT_TYPE_GEAR_2
@ BG_RV_OBJECT_TYPE_PILAR_COLLISION_3
@ BG_RV_OBJECT_TYPE_FIREDOOR_2
@ BG_RV_OBJECT_TYPE_PILAR_COLLISION_4
@ BG_RV_OBJECT_TYPE_PILAR_COLLISION_1
@ BG_RV_OBJECT_TYPE_PILAR_3
@ BG_RV_OBJECT_TYPE_FIREDOOR_1
@ BG_RV_OBJECT_TYPE_FIRE_2
@ BG_RV_OBJECT_TYPE_ELEVATOR_2
@ BG_RV_OBJECT_TYPE_GEAR_1
@ BG_RV_OBJECT_TYPE_PULLEY_1
@ BG_RV_OBJECT_TYPE_FIRE_1
BattlegroundRVData
@ BG_RV_PILLAR_SWITCH_TIMER
@ BG_RV_CLOSE_FIRE_TIMER
@ BG_RV_FIRST_TIMER
@ BG_RV_FIRE_TO_PILLAR_TIMER
@ BG_RV_STATE_SWITCH_PILLARS
@ BG_RV_STATE_CLOSE_FIRE
@ BG_RV_WORLD_STATE
@ BG_RV_STATE_OPEN_FENCES
uint32_t uint32
Definition Define.h:133
Definition Arena.h:48
void StartingEventOpenDoors() override
void FillInitialWorldStates(WorldPackets::WorldState::InitWorldStates &packet) override
void HandleAreaTrigger(Player *Source, uint32 Trigger) override
void PostUpdateImpl(uint32 diff) override
Post-update hook.
bool SetupBattleground() override