|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include "Common.h"#include "DBCEnums.h"#include "GameObject.h"#include "Object.h"#include "SharedDefines.h"#include "WorldPacket.h"#include "WorldStateBuilder.h"Go to the source code of this file.
Classes | |
| class | Battleground |
| struct | BattlegroundObjectInfo |
| struct | BattlegroundPlayer |
| struct | BattlegroundScore |
Macros | |
| #define | ARENA_TIMELIMIT_POINTS_LOSS -16 |
| #define | BG_AWARD_ARENA_POINTS_MIN_LEVEL 71 |
| #define | BG_STARTING_EVENT_COUNT 4 |
| #define | BG_TEAMS_COUNT 2 |
Variables | |
| uint32 const | Buff_Entries [3] = { BG_OBJECTID_SPEEDBUFF_ENTRY, BG_OBJECTID_REGENBUFF_ENTRY, BG_OBJECTID_BERSERKERBUFF_ENTRY } |
| #define ARENA_TIMELIMIT_POINTS_LOSS -16 |
Definition at line 265 of file Battleground.h.
Referenced by Battleground::EndBattleground().
| #define BG_AWARD_ARENA_POINTS_MIN_LEVEL 71 |
Definition at line 264 of file Battleground.h.
Referenced by Battleground::CanAwardArenaPoints().
| #define BG_STARTING_EVENT_COUNT 4 |
Definition at line 239 of file Battleground.h.
| #define BG_TEAMS_COUNT 2 |
Definition at line 221 of file Battleground.h.
Referenced by BattlegroundQueue::AddGroup(), BattlegroundBFG::BattlegroundBFG(), BattlegroundQueue::BattlegroundQueue(), BattlegroundQueue::BattlegroundQueueUpdate(), Battlefield::BroadcastPacketToQueue(), Battlefield::BroadcastPacketToWar(), Battlefield::BroadcastPacketToZone(), BattlegroundQueue::CheckNormalMatch(), BattlegroundQueue::CheckPremadeMatch(), Battlefield::DoPlaySoundToAll(), Battlefield::InvitePlayersInQueueToWar(), Battlefield::InvitePlayersInZoneToWar(), Battlefield::KickAfkPlayers(), BattlegroundAB::PostUpdateImpl(), BattlegroundBFG::PostUpdateImpl(), BattlegroundVOP::PostUpdateImpl(), BattlegroundQueue::RemovePlayer(), Battlefield::SendUpdateWorldState(), and Battlefield::StartBattle().
| enum ArenaType |
| Enumerator | |
|---|---|
| ARENA_TYPE_2v2 | |
| ARENA_TYPE_3v3 | |
| ARENA_TYPE_5v5 | |
Definition at line 168 of file Battleground.h.
| Enumerator | |
|---|---|
| BG_OBJECTID_SPEEDBUFF_ENTRY | |
| BG_OBJECTID_REGENBUFF_ENTRY | |
| BG_OBJECTID_BERSERKERBUFF_ENTRY | |
Definition at line 134 of file Battleground.h.
| Enumerator | |
|---|---|
| BG_CREATURE_ENTRY_A_SPIRITGUIDE | |
| BG_CREATURE_ENTRY_H_SPIRITGUIDE | |
Definition at line 82 of file Battleground.h.
Definition at line 29 of file Battleground.h.
| enum BattlegroundMarks |
Definition at line 59 of file Battleground.h.
| Enumerator | |
|---|---|
| ITEM_WINNER_COUNT | |
| ITEM_LOSER_COUNT | |
Definition at line 76 of file Battleground.h.
| enum BattlegroundQuests |
Definition at line 47 of file Battleground.h.
| enum BattlegroundSounds |
| Enumerator | |
|---|---|
| SOUND_HORDE_WINS | |
| SOUND_ALLIANCE_WINS | |
| SOUND_BG_START | |
| SOUND_BG_START_L70ETC | |
Definition at line 39 of file Battleground.h.
| enum BattlegroundSpells |
Definition at line 88 of file Battleground.h.
| Enumerator | |
|---|---|
| BG_STARTING_EVENT_NONE | |
| BG_STARTING_EVENT_1 | |
| BG_STARTING_EVENT_2 | |
| BG_STARTING_EVENT_3 | |
| BG_STARTING_EVENT_4 | |
Definition at line 223 of file Battleground.h.
| Enumerator | |
|---|---|
| BG_STARTING_EVENT_FIRST | |
| BG_STARTING_EVENT_SECOND | |
| BG_STARTING_EVENT_THIRD | |
| BG_STARTING_EVENT_FOURTH | |
Definition at line 232 of file Battleground.h.
| Enumerator | |
|---|---|
| BG_START_DELAY_2M | |
| BG_START_DELAY_1M | |
| BG_START_DELAY_30S | |
| BG_START_DELAY_15S | |
| BG_START_DELAY_NONE | |
Definition at line 125 of file Battleground.h.
| enum BattlegroundStatus |
| Enumerator | |
|---|---|
| STATUS_NONE | |
| STATUS_WAIT_QUEUE | |
| STATUS_WAIT_JOIN | |
| STATUS_IN_PROGRESS | |
| STATUS_WAIT_LEAVE | |
Definition at line 143 of file Battleground.h.
Definition at line 108 of file Battleground.h.
| enum BattlegroundType |
| Enumerator | |
|---|---|
| TYPE_BATTLEGROUND | |
| TYPE_ARENA | |
Definition at line 208 of file Battleground.h.
| enum BattlegroundWinner |
| Enumerator | |
|---|---|
| WINNER_HORDE | |
| WINNER_ALLIANCE | |
| WINNER_NONE | |
Definition at line 214 of file Battleground.h.
| enum BGHonorMode |
| Enumerator | |
|---|---|
| BG_NORMAL | |
| BG_HOLIDAY | |
| BG_HONOR_MODE_NUM | |
Definition at line 241 of file Battleground.h.
| enum ScoreType |
Definition at line 175 of file Battleground.h.
| uint32 const Buff_Entries[3] = { BG_OBJECTID_SPEEDBUFF_ENTRY, BG_OBJECTID_REGENBUFF_ENTRY, BG_OBJECTID_BERSERKERBUFF_ENTRY } |
Definition at line 141 of file Battleground.h.
Referenced by Battleground::HandleTriggerBuff(), BattlegroundAB::SetupBattleground(), BattlegroundBFG::SetupBattleground(), BattlegroundEY::SetupBattleground(), and BattlegroundVOP::SetupBattleground().