AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Class for manage Strand of Ancient battleground. More...
#include "BattlegroundSA.h"
Private Member Functions | |
uint32 | GetGateIDFromEntry (uint32 id) |
Return gate id, relative to bg data, according to gameobject id. More... | |
bool | ResetObjs () |
Called on setup and between the two round -Delete all gameobject / creature -Respawn all gameobject / creature to have good faction. More... | |
void | StartShips () |
Called for start ship movement. More... | |
void | TeleportPlayers () |
Called between the two round -Teleport all players to good location. More... | |
void | TeleportToEntrancePosition (Player *player) |
void | OverrideGunFaction () |
Called on start and between the two round -Update faction of all vehicle. More... | |
void | DemolisherStartState (bool start) |
Set selectable or not demolisher, called on battle start, when boats arrive to dock. More... | |
bool | CanInteractWithObject (uint32 objectId) |
Checks if a player can interact with the given object. More... | |
void | UpdateObjectInteractionFlags (uint32 objectId) |
Updates interaction flags of specific objects. More... | |
void | UpdateObjectInteractionFlags () |
void | DestroyGate (Player *player, GameObject *go) override |
Called when a gate is destroy -Give honor to player witch destroy it -Update worldstate -Delete gameobject in front of door (lighting object, with different colours for each door) More... | |
void | SendTime () |
Update timer worldstate. More... | |
void | CaptureGraveyard (BG_SA_Graveyards i, Player *Source) |
Called when a graveyard is capture -Update spiritguide -Update gameobject (flag) -Update Worldstate -Send warning for announce this. More... | |
void | ToggleTimer () |
Switch on/off timer worldstate. More... | |
void | UpdateDemolisherSpawns () |
Respawn dead demolisher. More... | |
void | SendTransportInit (Player *player) |
Send packet to player for create boats (client part) More... | |
void | SendTransportsRemove (Player *player) |
Send packet to player for destroy boats (client part) More... | |
Private Attributes | |
TeamId | Attackers |
Id of attacker team. More... | |
Milliseconds | TotalTime |
Totale elapsed time of current round. More... | |
Milliseconds | EndRoundTimer |
Max time of round. More... | |
bool | ShipsStarted |
For know if boats has start moving or not yet. More... | |
BG_SA_GateState | GateStatus [6] |
Status of each gate (Destroy/Damage/Intact) More... | |
BG_SA_Status | Status |
Statu of battle (Start or not, and what round) More... | |
TeamId | GraveyardStatus [BG_SA_MAX_GY] |
Team witch conntrol each graveyard. More... | |
BG_SA_RoundScore | RoundScores [2] |
Score of each round. More... | |
bool | TimerEnabled |
used for know we are in timer phase or not (used for worldstate update) More... | |
uint32 | UpdateWaitTimer |
5secs before starting the 1min countdown for second round More... | |
bool | SignaledRoundTwo |
for know if warning about second round start has been sent More... | |
bool | SignaledRoundTwoHalfMin |
for know if warning about second round start has been sent More... | |
bool | InitSecondRound |
for know if second round has been init More... | |
std::map< uint32, uint32 > | DemoliserRespawnList |
bool | _relicClicked |
bool | _notEvenAScratch [PVP_TEAMS_COUNT] |
Class for manage Strand of Ancient battleground.
BattlegroundSA::BattlegroundSA | ( | ) |
This is here to prevent an uninitialised variable warning The warning only occurs when SetUpBattleGround fails though. In the future this function should be called BEFORE sending initial worldstates.
References Attackers, BG_SA_GATE_OK, BG_SA_MAX_GY, BG_SA_MAXNPC, BG_SA_MAXOBJ, BG_SA_NOTSTARTED, BG_STARTING_EVENT_FOURTH, Battleground::BgCreatures, Battleground::BgObjects, EndRoundTimer, GateStatus, GraveyardStatus, InitSecondRound, RoundScores, ShipsStarted, SignaledRoundTwo, SignaledRoundTwoHalfMin, Battleground::StartMessageIds, Status, TEAM_ALLIANCE, BG_SA_RoundScore::time, TimerEnabled, TotalTime, UpdateWaitTimer, and BG_SA_RoundScore::winner.
|
override |
|
overridevirtual |
Called when a player join battle.
Reimplemented from Battleground.
References Battleground::AddPlayer(), ObjectGuid::GetCounter(), Object::GetGUID(), Battleground::PlayerScores, SendTransportInit(), and TeleportToEntrancePosition().
bool BattlegroundSA::AllowDefenseOfTheAncients | ( | Player * | source | ) |
References Attackers, BG_SA_GATE_DESTROYED, GateStatus, and Player::GetTeamId().
Referenced by achievement_sa_defense_of_the_ancients::OnCheck().
|
private |
Checks if a player can interact with the given object.
References ABORT, BG_SA_ANCIENT_GATE, BG_SA_BLUE_GATE, BG_SA_CENTRAL_FLAG, BG_SA_GATE_DESTROYED, BG_SA_GREEN_GATE, BG_SA_LEFT_FLAG, BG_SA_PURPLE_GATE, BG_SA_RED_GATE, BG_SA_RIGHT_FLAG, BG_SA_TITAN_RELIC, BG_SA_YELLOW_GATE, and GateStatus.
Referenced by EventPlayerClickedOnFlag(), EventPlayerUsedGO(), and UpdateObjectInteractionFlags().
|
private |
Called when a graveyard is capture -Update spiritguide -Update gameobject (flag) -Update Worldstate -Send warning for announce this.
i | : id of graveyard |
Source | : Player who capture gy |
References ABORT, Battleground::AddCreature(), Battleground::AddObject(), Battleground::AddSpiritGuide(), Attackers, BG_SA_CENTER_GY_ALLIANCE, BG_SA_CENTER_GY_HORDE, BG_SA_CENTRAL_CAPTURABLE_GY, BG_SA_CENTRAL_FLAG, BG_SA_DEMOLISHER_5, BG_SA_DEMOLISHER_6, BG_SA_DEMOLISHER_7, BG_SA_DEMOLISHER_8, BG_SA_Factions, BG_SA_GYEntries, BG_SA_GYOrientation, BG_SA_LEFT_CAPTURABLE_GY, BG_SA_LEFT_FLAG, BG_SA_LEFT_GY_ALLIANCE, BG_SA_LEFT_GY_HORDE, BG_SA_MAXNPC, BG_SA_NPC_RIGSPARK, BG_SA_NPC_SPARKLIGHT, BG_SA_NpcEntries, BG_SA_NpcSpawnlocs, BG_SA_ObjEntries, BG_SA_ObjSpawnlocs, BG_SA_RIGHT_CAPTURABLE_GY, BG_SA_RIGHT_FLAG, BG_SA_RIGHT_GY_ALLIANCE, BG_SA_RIGHT_GY_HORDE, Battleground::BgCreatures, Battleground::DelCreature(), Battleground::DelObject(), Map::DoForAllPlayers(), ObjectAccessor::FindPlayer(), Battleground::GetBGCreature(), Battleground::GetBgMap(), GetClosestGraveyard(), Battleground::GetMapId(), Position::GetOrientation(), Player::GetSession(), Player::GetTeamId(), GraveyardStatus, LANG_BG_SA_A_GY_EAST, LANG_BG_SA_A_GY_SOUTH, LANG_BG_SA_A_GY_WEST, LANG_BG_SA_H_GY_EAST, LANG_BG_SA_H_GY_WEST, LOG_ERROR, Battleground::m_ReviveQueue, ChatHandler::PSendSysMessage(), RESPAWN_ONE_DAY, sGraveyard, TEAM_ALLIANCE, Player::TeleportTo(), Battleground::UpdateWorldState(), GraveyardStruct::x, GraveyardStruct::y, and GraveyardStruct::z.
Referenced by EventPlayerClickedOnFlag().
void BattlegroundSA::DefendersPortalTeleport | ( | GameObject * | portal, |
Player * | plr | ||
) |
References Attackers, WorldLocation::GetMapId(), Position::GetPositionX(), Player::GetTeamId(), SOTADefPortalDest, TELE_TO_SPELL, and Player::TeleportTo().
Referenced by Spell::EffectScriptEffect().
|
private |
Set selectable or not demolisher, called on battle start, when boats arrive to dock.
References BG_SA_BLUE_GATE, BG_SA_DEMOLISHER_1, BG_SA_DEMOLISHER_4, BG_SA_GREEN_GATE, BG_SA_GUN_1, BG_SA_GUN_10, Battleground::BgCreatures, Battleground::GetBGCreature(), Battleground::GetBGObject(), UNIT_FLAG_NON_ATTACKABLE, and UNIT_FLAG_NOT_SELECTABLE.
Referenced by PostUpdateImpl(), and ResetObjs().
|
overrideprivatevirtual |
Called when a gate is destroy -Give honor to player witch destroy it -Update worldstate -Delete gameobject in front of door (lighting object, with different colours for each door)
Reimplemented from Battleground.
References BG_SA_BLUE_GATE, BG_SA_GATE_DESTROYED, BG_SA_GREEN_GATE, BG_SA_PURPLE_GATE, BG_SA_RED_GATE, Battleground::DelObject(), GateStatus, Battleground::GetBGObject(), Battleground::GetBonusHonorFromKill(), Object::GetEntry(), GetGateIDFromEntry(), GetWorldStateFromGateID(), SCORE_BONUS_HONOR, SCORE_DESTROYED_WALL, UpdateObjectInteractionFlags(), Battleground::UpdatePlayerScore(), and Battleground::UpdateWorldState().
|
overridevirtual |
Called on battleground ending.
Reimplemented from Battleground.
References Battleground::EndBattleground(), Battleground::GetBonusHonorFromKill(), Battleground::RewardHonorToTeam(), TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by EventPlayerUsedGO(), and PostUpdateImpl().
|
overridevirtual |
Called when a player click on flag (graveyard flag)
Reimplemented from Battleground.
References BG_SA_CENTRAL_CAPTURABLE_GY, BG_SA_CENTRAL_FLAG, BG_SA_LEFT_CAPTURABLE_GY, BG_SA_LEFT_FLAG, BG_SA_RIGHT_CAPTURABLE_GY, BG_SA_RIGHT_FLAG, CanInteractWithObject(), CaptureGraveyard(), and Object::GetEntry().
|
overridevirtual |
Called when a player deal damage to building (door)
Reimplemented from Battleground.
References BG_SA_ANCIENT_GATE, BG_SA_BLUE_GATE, BG_SA_GATE_DAMAGED, BG_SA_GREEN_GATE, BG_SA_PURPLE_GATE, BG_SA_RED_GATE, BG_SA_YELLOW_GATE, GameObjectTemplate::building, GameObjectTemplate::damagedEvent, GameObjectTemplate::damageEvent, GameObjectTemplate::destroyedEvent, Map::DoForAllPlayers(), GateStatus, Battleground::GetBgMap(), Battleground::GetBGObject(), Object::GetEntry(), GetGateIDFromEntry(), GameObject::GetGOInfo(), Player::GetSession(), GetWorldStateFromGateID(), LANG_BG_SA_CHAMBER_BREACHED, LANG_BG_SA_IS_UNDER_ATTACK, LANG_BG_SA_WAS_DESTROYED, GameObjectTemplate::name, ChatHandler::PSendSysMessage(), and Battleground::UpdateWorldState().
|
overridevirtual |
Called when a player use a gamobject (relic)
Reimplemented from Battleground.
References _relicClicked, ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET, Attackers, BG_SA_ObjEntries, BG_SA_ROUND_ONE, BG_SA_ROUND_TWO, BG_SA_TITAN_RELIC, CanInteractWithObject(), Map::DoForAllPlayers(), EndBattleground(), Battleground::GetBgMap(), Object::GetEntry(), Battleground::GetPlayers(), Player::GetTeamId(), RoundScores, Status, TEAM_NEUTRAL, BG_SA_RoundScore::time, ToggleTimer(), TotalTime, and BG_SA_RoundScore::winner.
|
overridevirtual |
Called for generate packet contain worldstate data.
Reimplemented from Battleground.
References Attackers, BG_SA_ALLIANCE_DEFENCE_TOKEN, BG_SA_ALLY_ATTACKS, BG_SA_ANCIENT_GATE, BG_SA_ANCIENT_GATEWS, BG_SA_BLUE_GATE, BG_SA_BLUE_GATEWS, BG_SA_BONUS_TIMER, BG_SA_CENTER_GY_ALLIANCE, BG_SA_CENTER_GY_HORDE, BG_SA_CENTRAL_CAPTURABLE_GY, BG_SA_ENABLE_TIMER, BG_SA_GREEN_GATE, BG_SA_GREEN_GATEWS, BG_SA_HORDE_ATTACKS, BG_SA_HORDE_DEFENCE_TOKEN, BG_SA_LEFT_ATT_TOKEN_ALL, BG_SA_LEFT_ATT_TOKEN_HRD, BG_SA_LEFT_CAPTURABLE_GY, BG_SA_LEFT_GY_ALLIANCE, BG_SA_LEFT_GY_HORDE, BG_SA_PURPLE_GATE, BG_SA_PURPLE_GATEWS, BG_SA_RED_GATE, BG_SA_RED_GATEWS, BG_SA_RIGHT_ATT_TOKEN_ALL, BG_SA_RIGHT_ATT_TOKEN_HRD, BG_SA_RIGHT_CAPTURABLE_GY, BG_SA_RIGHT_GY_ALLIANCE, BG_SA_RIGHT_GY_HORDE, BG_SA_TIMER_MINS, BG_SA_TIMER_SEC_DECS, BG_SA_TIMER_SEC_TENS, BG_SA_YELLOW_GATE, BG_SA_YELLOW_GATEWS, GateStatus, GraveyardStatus, TEAM_ALLIANCE, TEAM_HORDE, and TimerEnabled.
|
overridevirtual |
Return the nearest graveyard where player can respawn.
Reimplemented from Battleground.
References BG_SA_BEACH_GY, BG_SA_GYEntries, BG_SA_MAX_GY, Position::GetPosition(), Player::GetTeamId(), GraveyardStatus, sGraveyard, GraveyardStruct::x, and GraveyardStruct::y.
Referenced by CaptureGraveyard().
Return gate id, relative to bg data, according to gameobject id.
References BG_SA_ANCIENT_GATE, BG_SA_BLUE_GATE, BG_SA_GREEN_GATE, BG_SA_PURPLE_GATE, BG_SA_RED_GATE, and BG_SA_YELLOW_GATE.
Referenced by DestroyGate(), and EventPlayerDamagedGO().
Return worldstate id, according to door id.
References BG_SA_ANCIENT_GATE, BG_SA_ANCIENT_GATEWS, BG_SA_BLUE_GATE, BG_SA_BLUE_GATEWS, BG_SA_GREEN_GATE, BG_SA_GREEN_GATEWS, BG_SA_PURPLE_GATE, BG_SA_PURPLE_GATEWS, BG_SA_RED_GATE, BG_SA_RED_GATEWS, BG_SA_YELLOW_GATE, and BG_SA_YELLOW_GATEWS.
Referenced by DestroyGate(), and EventPlayerDamagedGO().
Reimplemented from Battleground.
References Battleground::GetStatus(), and STATUS_IN_PROGRESS.
Called when a player kill a unit in bg.
Reimplemented from Battleground.
References _notEvenAScratch, Attackers, Object::GetEntry(), NPC_DEMOLISHER_SA, SCORE_DESTROYED_DEMOLISHER, Unit::SetVisible(), and Battleground::UpdatePlayerScore().
|
overridevirtual |
Reimplemented from Battleground.
References _notEvenAScratch, _relicClicked, Attackers, BG_SA_GATE_OK, BG_SA_WARMUP, GateStatus, Battleground::Init(), ShipsStarted, Status, TEAM_ALLIANCE, TEAM_HORDE, TotalTime, and urand().
|
inline |
Referenced by achievement_not_even_a_scratch::OnCheck().
|
private |
Called on start and between the two round -Update faction of all vehicle.
References Attackers, BG_SA_DEMOLISHER_1, BG_SA_DEMOLISHER_4, BG_SA_Factions, BG_SA_GUN_1, BG_SA_GUN_10, Battleground::BgCreatures, Battleground::GetBGCreature(), TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by ResetObjs().
|
overridevirtual |
Called every time for update battle data -Update timer -Round switch.
Reimplemented from Battleground.
References _relicClicked, ACHIEVEMENT_CRITERIA_TYPE_BE_SPELL_TARGET, ACHIEVEMENT_TIMED_TYPE_EVENT, Attackers, BG_SA_BOAT_START, BG_SA_ROUND_ONE, BG_SA_ROUND_TWO, BG_SA_ROUNDLENGTH, BG_SA_SECOND_WARMUP, BG_SA_TEXT_ROUND_TWO_START_HALF_MINUTE, BG_SA_TEXT_ROUND_TWO_START_ONE_MINUTE, BG_SA_WARMUP, BG_SA_WARMUPLENGTH, CHAT_MSG_BG_SYSTEM_NEUTRAL, DemolisherStartState(), Map::DoForAllPlayers(), EndBattleground(), EndRoundTimer, Battleground::GetBgMap(), Battleground::GetOtherTeamId(), Battleground::GetPlayers(), Player::GetSession(), Battleground::GetStatus(), InitSecondRound, LANG_BG_SA_HAS_BEGUN, LANG_BG_SA_ROUND_ONE_END, ChatHandler::PSendSysMessage(), ResetObjs(), RoundScores, Battleground::SendBroadcastText(), SendTime(), Battleground::SetStatus(), SignaledRoundTwo, SignaledRoundTwoHalfMin, SPELL_PREPARATION, SPELL_SA_END_OF_ROUND, StartShips(), Battleground::StartTimedAchievement(), Status, STATUS_IN_PROGRESS, TEAM_ALLIANCE, TEAM_HORDE, TEAM_NEUTRAL, BG_SA_RoundScore::time, ToggleTimer(), TotalTime, UpdateDemolisherSpawns(), UpdateWaitTimer, and BG_SA_RoundScore::winner.
|
overridevirtual |
|
private |
Called on setup and between the two round -Delete all gameobject / creature -Respawn all gameobject / creature to have good faction.
References Battleground::AddCreature(), Battleground::AddObject(), Battleground::AddSpiritGuide(), Attackers, BG_SA_ALLIANCE_DEFENCE_TOKEN, BG_SA_ALLY_ATTACKS, BG_SA_ANCIENT_GATEWS, BG_SA_BEACH_GY, BG_SA_BLUE_GATEWS, BG_SA_BOAT_ONE, BG_SA_BOAT_ONE_A, BG_SA_BOAT_ONE_H, BG_SA_BOAT_TWO, BG_SA_BOAT_TWO_A, BG_SA_BOAT_TWO_H, BG_SA_BOMB, BG_SA_CENTER_GY_ALLIANCE, BG_SA_CENTER_GY_HORDE, BG_SA_CENTRAL_CAPTURABLE_GY, BG_SA_CENTRAL_FLAG, BG_SA_DEMOLISHER_5, BG_SA_Factions, BG_SA_GATE_OK, BG_SA_GREEN_GATE, BG_SA_GREEN_GATEWS, BG_SA_GYEntries, BG_SA_GYOrientation, BG_SA_HORDE_ATTACKS, BG_SA_HORDE_DEFENCE_TOKEN, BG_SA_LEFT_ATT_TOKEN_ALL, BG_SA_LEFT_ATT_TOKEN_HRD, BG_SA_LEFT_CAPTURABLE_GY, BG_SA_LEFT_GY_ALLIANCE, BG_SA_LEFT_GY_HORDE, BG_SA_MAX_GY, BG_SA_MAXNPC, BG_SA_MAXOBJ, BG_SA_NpcEntries, BG_SA_NpcSpawnlocs, BG_SA_ObjEntries, BG_SA_ObjSpawnlocs, BG_SA_PORTAL_DEFFENDER_BLUE, BG_SA_PURPLE_GATEWS, BG_SA_RED_GATEWS, BG_SA_RIGHT_ATT_TOKEN_ALL, BG_SA_RIGHT_ATT_TOKEN_HRD, BG_SA_RIGHT_CAPTURABLE_GY, BG_SA_RIGHT_GY_ALLIANCE, BG_SA_RIGHT_GY_HORDE, BG_SA_SIGIL_1, BG_SA_TITAN_RELIC, BG_SA_YELLOW_GATEWS, Battleground::DelCreature(), Battleground::DelObject(), DemolisherStartState(), GAMEOBJECT_FACTION, GateStatus, Battleground::GetBGObject(), Battleground::GetOtherTeamId(), Battleground::GetPlayers(), GraveyardStatus, LOG_ERROR, OverrideGunFaction(), GameObject::Refresh(), RESPAWN_IMMEDIATELY, RESPAWN_ONE_DAY, SendTransportInit(), SendTransportsRemove(), Battleground::SetStatus(), GameObject::SetTransportPathRotation(), Object::SetUInt32Value(), sGraveyard, ShipsStarted, Battleground::SpawnBGObject(), STATUS_WAIT_JOIN, TEAM_ALLIANCE, TEAM_HORDE, TeleportPlayers(), TotalTime, UpdateObjectInteractionFlags(), Battleground::UpdateWorldState(), GraveyardStruct::x, GraveyardStruct::y, and GraveyardStruct::z.
Referenced by PostUpdateImpl(), and SetupBattleground().
|
private |
Update timer worldstate.
References BG_SA_TIMER_MINS, BG_SA_TIMER_SEC_DECS, BG_SA_TIMER_SEC_TENS, EndRoundTimer, TotalTime, and Battleground::UpdateWorldState().
Referenced by PostUpdateImpl().
|
private |
Send packet to player for create boats (client part)
References BG_SA_BOAT_ONE, BG_SA_BOAT_TWO, Battleground::BgObjects, Object::BuildCreateUpdateBlockForPlayer(), UpdateData::BuildPacket(), Battleground::GetBGObject(), Player::GetSession(), and WorldSession::SendPacket().
Referenced by AddPlayer(), and ResetObjs().
|
private |
Send packet to player for destroy boats (client part)
References BG_SA_BOAT_ONE, BG_SA_BOAT_TWO, Battleground::BgObjects, Object::BuildOutOfRangeUpdateBlock(), UpdateData::BuildPacket(), Battleground::GetBGObject(), Player::GetSession(), and WorldSession::SendPacket().
Referenced by ResetObjs().
|
overridevirtual |
Called for ini battleground, after that the first player be entered.
Reimplemented from Battleground.
References ResetObjs().
|
overridevirtual |
|
overridevirtual |
Reimplemented from Battleground.
|
private |
Called for start ship movement.
References BG_SA_BOAT_ONE, BG_SA_BOAT_TWO, UpdateData::BuildPacket(), Object::BuildValuesUpdateBlockForPlayer(), Battleground::DoorOpen(), Battleground::GetBGObject(), Battleground::GetPlayers(), and ShipsStarted.
Referenced by PostUpdateImpl().
|
private |
Called between the two round -Teleport all players to good location.
References BG_SA_SECOND_WARMUP, Battleground::GetPlayers(), SPELL_AURA_MOD_SHAPESHIFT, SPELL_AURA_SPIRIT_OF_REDEMPTION, SPELL_PREPARATION, Status, and TeleportToEntrancePosition().
Referenced by ResetObjs().
|
private |
References Attackers, Unit::CastSpell(), Player::GetTeamId(), ShipsStarted, Player::TeleportTo(), and urand().
Referenced by AddPlayer(), and TeleportPlayers().
|
private |
Switch on/off timer worldstate.
References BG_SA_ENABLE_TIMER, TimerEnabled, and Battleground::UpdateWorldState().
Referenced by EventPlayerUsedGO(), and PostUpdateImpl().
|
private |
Respawn dead demolisher.
References BG_SA_DEMOLISHER_1, BG_SA_DEMOLISHER_8, BG_SA_NpcSpawnlocs, Battleground::BgCreatures, DemoliserRespawnList, Battleground::GetBGCreature(), and GameTime::GetGameTimeMS().
Referenced by PostUpdateImpl().
|
private |
References BG_SA_CENTRAL_FLAG, BG_SA_LEFT_FLAG, BG_SA_TITAN_RELIC, and UpdateObjectInteractionFlags().
Referenced by DestroyGate(), ResetObjs(), and UpdateObjectInteractionFlags().
|
private |
Updates interaction flags of specific objects.
References CanInteractWithObject(), Battleground::GetBGObject(), GO_FLAG_IN_USE, GO_FLAG_INTERACT_COND, and GO_FLAG_NOT_SELECTABLE.
|
private |
Referenced by HandleKillUnit(), and Init().
|
private |
Referenced by EventPlayerUsedGO(), Init(), and PostUpdateImpl().
|
private |
Id of attacker team.
Referenced by AllowDefenseOfTheAncients(), BattlegroundSA(), CaptureGraveyard(), DefendersPortalTeleport(), EventPlayerUsedGO(), FillInitialWorldStates(), HandleKillUnit(), Init(), OverrideGunFaction(), PostUpdateImpl(), ResetObjs(), and TeleportToEntrancePosition().
Referenced by UpdateDemolisherSpawns().
|
private |
Max time of round.
Referenced by BattlegroundSA(), PostUpdateImpl(), and SendTime().
|
private |
Status of each gate (Destroy/Damage/Intact)
Referenced by AllowDefenseOfTheAncients(), BattlegroundSA(), CanInteractWithObject(), DestroyGate(), EventPlayerDamagedGO(), FillInitialWorldStates(), Init(), and ResetObjs().
|
private |
Team witch conntrol each graveyard.
Referenced by BattlegroundSA(), CaptureGraveyard(), FillInitialWorldStates(), GetClosestGraveyard(), and ResetObjs().
|
private |
for know if second round has been init
Referenced by BattlegroundSA(), and PostUpdateImpl().
|
private |
Score of each round.
Referenced by BattlegroundSA(), EventPlayerUsedGO(), and PostUpdateImpl().
|
private |
For know if boats has start moving or not yet.
Referenced by BattlegroundSA(), Init(), ResetObjs(), StartShips(), and TeleportToEntrancePosition().
|
private |
for know if warning about second round start has been sent
Referenced by BattlegroundSA(), and PostUpdateImpl().
|
private |
for know if warning about second round start has been sent
Referenced by BattlegroundSA(), and PostUpdateImpl().
|
private |
Statu of battle (Start or not, and what round)
Referenced by BattlegroundSA(), EventPlayerUsedGO(), Init(), PostUpdateImpl(), and TeleportPlayers().
|
private |
used for know we are in timer phase or not (used for worldstate update)
Referenced by BattlegroundSA(), FillInitialWorldStates(), and ToggleTimer().
|
private |
Totale elapsed time of current round.
Referenced by BattlegroundSA(), EventPlayerUsedGO(), Init(), PostUpdateImpl(), ResetObjs(), and SendTime().
|
private |
5secs before starting the 1min countdown for second round
Referenced by BattlegroundSA(), and PostUpdateImpl().