Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
BattlegroundRL.h
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
#ifndef SF_BATTLEGROUNDRL_H
7
#define SF_BATTLEGROUNDRL_H
8
9
#include "
Battleground.h
"
10
11
enum
BattlegroundRLObjectTypes
12
{
13
BG_RL_OBJECT_DOOR_1
= 0,
14
BG_RL_OBJECT_DOOR_2
= 1,
15
BG_RL_OBJECT_BUFF_1
= 2,
16
BG_RL_OBJECT_BUFF_2
= 3,
17
BG_RL_OBJECT_MAX
= 4
18
};
19
20
enum
BattlegroundRLObjects
21
{
22
BG_RL_OBJECT_TYPE_DOOR_1
= 185918,
23
BG_RL_OBJECT_TYPE_DOOR_2
= 185917,
24
BG_RL_OBJECT_TYPE_BUFF_1
= 184663,
25
BG_RL_OBJECT_TYPE_BUFF_2
= 184664
26
};
27
28
class
BattlegroundRL
:
public
Battleground
29
{
30
public
:
31
BattlegroundRL
();
32
~BattlegroundRL
() { }
33
34
/* inherited from BattlegroundClass */
35
void
AddPlayer
(
Player
* player)
OVERRIDE
;
36
void
Reset
()
OVERRIDE
;
37
void
FillInitialWorldStates
(
WorldStateBuilder
& builder)
OVERRIDE
;
38
void
StartingEventCloseDoors
()
OVERRIDE
;
39
void
StartingEventOpenDoors
()
OVERRIDE
;
40
41
void
RemovePlayer
(
Player
* player,
uint64
guid,
uint32
team)
OVERRIDE
;
42
void
HandleAreaTrigger
(
Player
* Source,
uint32
Trigger)
OVERRIDE
;
43
bool
SetupBattleground
()
OVERRIDE
;
44
void
HandleKillPlayer
(
Player
* player,
Player
* killer)
OVERRIDE
;
45
};
46
#endif
Battleground.h
BattlegroundRLObjects
BattlegroundRLObjects
Definition
BattlegroundRL.h:21
BG_RL_OBJECT_TYPE_DOOR_2
@ BG_RL_OBJECT_TYPE_DOOR_2
Definition
BattlegroundRL.h:23
BG_RL_OBJECT_TYPE_DOOR_1
@ BG_RL_OBJECT_TYPE_DOOR_1
Definition
BattlegroundRL.h:22
BG_RL_OBJECT_TYPE_BUFF_2
@ BG_RL_OBJECT_TYPE_BUFF_2
Definition
BattlegroundRL.h:25
BG_RL_OBJECT_TYPE_BUFF_1
@ BG_RL_OBJECT_TYPE_BUFF_1
Definition
BattlegroundRL.h:24
BattlegroundRLObjectTypes
BattlegroundRLObjectTypes
Definition
BattlegroundRL.h:12
BG_RL_OBJECT_BUFF_2
@ BG_RL_OBJECT_BUFF_2
Definition
BattlegroundRL.h:16
BG_RL_OBJECT_BUFF_1
@ BG_RL_OBJECT_BUFF_1
Definition
BattlegroundRL.h:15
BG_RL_OBJECT_MAX
@ BG_RL_OBJECT_MAX
Definition
BattlegroundRL.h:17
BG_RL_OBJECT_DOOR_2
@ BG_RL_OBJECT_DOOR_2
Definition
BattlegroundRL.h:14
BG_RL_OBJECT_DOOR_1
@ BG_RL_OBJECT_DOOR_1
Definition
BattlegroundRL.h:13
uint32
std::uint32_t uint32
Definition
Define.h:77
OVERRIDE
#define OVERRIDE
Definition
Define.h:60
uint64
std::uint64_t uint64
Definition
Define.h:76
Battleground::Battleground
Battleground()
Definition
Battleground.cpp:105
BattlegroundRL::HandleKillPlayer
void HandleKillPlayer(Player *player, Player *killer) OVERRIDE
Definition
BattlegroundRL.cpp:59
BattlegroundRL::FillInitialWorldStates
void FillInitialWorldStates(WorldStateBuilder &builder) OVERRIDE
Definition
BattlegroundRL.cpp:92
BattlegroundRL::StartingEventOpenDoors
void StartingEventOpenDoors() OVERRIDE
Definition
BattlegroundRL.cpp:34
BattlegroundRL::RemovePlayer
void RemovePlayer(Player *player, uint64 guid, uint32 team) OVERRIDE
Definition
BattlegroundRL.cpp:50
BattlegroundRL::HandleAreaTrigger
void HandleAreaTrigger(Player *Source, uint32 Trigger) OVERRIDE
Definition
BattlegroundRL.cpp:76
BattlegroundRL::Reset
void Reset() OVERRIDE
Definition
BattlegroundRL.cpp:98
BattlegroundRL::AddPlayer
void AddPlayer(Player *player) OVERRIDE
Definition
BattlegroundRL.cpp:43
BattlegroundRL::SetupBattleground
bool SetupBattleground() OVERRIDE
Definition
BattlegroundRL.cpp:104
BattlegroundRL::~BattlegroundRL
~BattlegroundRL()
Definition
BattlegroundRL.h:32
BattlegroundRL::StartingEventCloseDoors
void StartingEventCloseDoors() OVERRIDE
Definition
BattlegroundRL.cpp:28
BattlegroundRL::BattlegroundRL
BattlegroundRL()
Definition
BattlegroundRL.cpp:13
Player
Definition
Player.h:1289
WorldStateBuilder
Definition
WorldStateBuilder.h:16
src
server
game
Battlegrounds
Zones
BattlegroundRL.h
Generated on
for Project SkyFire Core by
1.17.0