TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Battlefield.h File Reference
#include "SharedDefines.h"
#include "ZoneScript.h"
#include "Packets/WorldStatePackets.h"
+ Include dependency graph for Battlefield.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BfCapturePoint
 
class  BfGraveyard
 
class  Battlefield
 

Typedefs

typedef std::vector
< BfGraveyard * > 
GraveyardVect
 
typedef std::map< ObjectGuid,
time_t > 
PlayerTimerMap
 

Enumerations

enum  BattlefieldTypes { BATTLEFIELD_WG, BATTLEFIELD_TB }
 
enum  BattlefieldIDs { BATTLEFIELD_BATTLEID_WG = 1, BATTLEFIELD_BATTLEID_TB = 21, BATTLEFIELD_BATTLEID_ASHRAN = 24 }
 
enum  BattlefieldState { BATTLEFIELD_INACTIVE = 0, BATTLEFIELD_WARMUP = 1, BATTLEFIELD_IN_PROGRESS = 2 }
 
enum  BattlefieldObjectiveStates {
  BF_CAPTUREPOINT_OBJECTIVESTATE_NEUTRAL = 0, BF_CAPTUREPOINT_OBJECTIVESTATE_ALLIANCE, BF_CAPTUREPOINT_OBJECTIVESTATE_HORDE, BF_CAPTUREPOINT_OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE,
  BF_CAPTUREPOINT_OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE, BF_CAPTUREPOINT_OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE, BF_CAPTUREPOINT_OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE
}
 
enum  BattlefieldSounds { BF_SOUND_HORDE_WINS = 8454, BF_SOUND_ALLIANCE_WINS = 8455, BF_SOUND_START = 3439 }
 
enum  BattlefieldTimers { BATTLEFIELD_OBJECTIVE_UPDATE_INTERVAL = 1000 }
 

Typedef Documentation

typedef std::vector<BfGraveyard*> GraveyardVect
typedef std::map<ObjectGuid, time_t> PlayerTimerMap

Enumeration Type Documentation

Enumerator
BATTLEFIELD_BATTLEID_WG 
BATTLEFIELD_BATTLEID_TB 
BATTLEFIELD_BATTLEID_ASHRAN 
32 {
33  BATTLEFIELD_BATTLEID_WG = 1, // Wintergrasp battle
34  BATTLEFIELD_BATTLEID_TB = 21, // Tol Barad
35  BATTLEFIELD_BATTLEID_ASHRAN = 24 // Ashran
36 };
Definition: Battlefield.h:33
Definition: Battlefield.h:35
Definition: Battlefield.h:34
Enumerator
BF_CAPTUREPOINT_OBJECTIVESTATE_NEUTRAL 
BF_CAPTUREPOINT_OBJECTIVESTATE_ALLIANCE 
BF_CAPTUREPOINT_OBJECTIVESTATE_HORDE 
BF_CAPTUREPOINT_OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE 
BF_CAPTUREPOINT_OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE 
BF_CAPTUREPOINT_OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE 
BF_CAPTUREPOINT_OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE 
Enumerator
BF_SOUND_HORDE_WINS 
BF_SOUND_ALLIANCE_WINS 
BF_SOUND_START 
57 {
58  BF_SOUND_HORDE_WINS = 8454,
60  BF_SOUND_START = 3439
61 };
Definition: Battlefield.h:60
Definition: Battlefield.h:59
Definition: Battlefield.h:58
Enumerator
BATTLEFIELD_INACTIVE 
BATTLEFIELD_WARMUP 
BATTLEFIELD_IN_PROGRESS 
39 {
43 };
Definition: Battlefield.h:41
Definition: Battlefield.h:42
Definition: Battlefield.h:40
Enumerator
BATTLEFIELD_OBJECTIVE_UPDATE_INTERVAL 
64 {
66 };
Definition: Battlefield.h:65
Enumerator
BATTLEFIELD_WG 
BATTLEFIELD_TB 
26 {
27  BATTLEFIELD_WG, // Wintergrasp
28  BATTLEFIELD_TB // Tol Barad (cataclysm)
29 };
Definition: Battlefield.h:27
Definition: Battlefield.h:28