![]() |
TrinityCore
|
Inheritance diagram for battleground_alterac_valley:Public Member Functions | |
| battleground_alterac_valley (BattlegroundMap *map) | |
| void | OnUpdate (uint32 diff) override |
| void | OnPlayerKilled (Player *victim, Player *) override |
| void | OnUnitKilled (Creature *victim, Unit *killer) override |
| bool | IsCaptainAlive (TeamId teamId) const |
| void | OnStart () override |
| void | OnEnd (Team winner) override |
| void | OnPlayerLeft (Player *player) override |
| void | EventPlayerDestroyedPoint (GameObject *gameobject) |
| void | DoAction (uint32 actionId, WorldObject *source, WorldObject *target) override |
| void | ChangeMineOwner (AlteracValleyMine mine, Team team, bool initial=false) |
| void | HandleInteractCapturableObject (Player *player, GameObject *target) |
| void | EventPlayerDefendsPoint (Player *player, uint32 object) |
| void | EventPlayerAssaultsPoint (Player *player, uint32 object) |
| void | UpdateNodeWorldState (BG_AV_Nodes node) const |
| void | SendMineWorldStates (AlteracValleyMine mine) const |
| void | AssaultNode (BG_AV_Nodes node, Team team) |
| void | DestroyNode (BG_AV_Nodes node) |
| void | InitNode (BG_AV_Nodes node, Team team, bool tower) |
| void | DefendNode (BG_AV_Nodes node, Team team) |
| Team | GetPrematureWinner () override |
| void | OnGameObjectCreate (GameObject *gameObject) override |
| void | OnCreatureCreate (Creature *creature) override |
| uint32 | GetData (uint32 dataId) const override |
| Creature * | FindHerald (std::string_view stringId) const |
| bool | IsTower (BG_AV_Nodes node) const |
| void | UpdateScore (Team team, int16 points) |
Public Member Functions inherited from BattlegroundScript | |
| BattlegroundScript (BattlegroundMap *map) noexcept | |
| ~BattlegroundScript () override=default | |
| virtual void | OnInit () |
| virtual void | OnPrepareStage1 () |
| virtual void | OnPrepareStage2 () |
| virtual void | OnPrepareStage3 () |
| virtual void | OnPlayerJoined (Player *player, bool inBattleground) |
| void | TriggerGameEvent (uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) override |
Public Member Functions inherited from ZoneScript | |
| ZoneScript () noexcept | |
| ZoneScript (ZoneScript const &right) | |
| ZoneScript (ZoneScript &&right) noexcept | |
| ZoneScript & | operator= (ZoneScript const &right) |
| ZoneScript & | operator= (ZoneScript &&right) noexcept |
| virtual | ~ZoneScript () |
| virtual uint32 | GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data) |
| virtual uint32 | GetGameObjectEntry (ObjectGuid::LowType, uint32 entry) |
| virtual void | OnCreatureRemove (Creature *) |
| virtual void | OnGameObjectRemove (GameObject *) |
| virtual void | OnAreaTriggerCreate (AreaTrigger *areaTrigger) |
| virtual void | OnAreaTriggerRemove (AreaTrigger *areaTrigger) |
| virtual void | OnUnitDeath (Unit *unit) |
| virtual void | OnCreatureGroupDepleted (CreatureGroup const *creatureGroup) |
| virtual ObjectGuid | GetGuidData (uint32) const |
| virtual void | SetGuidData (uint32, ObjectGuid) |
| virtual uint64 | GetData64 (uint32) const |
| virtual void | SetData64 (uint32, uint64) |
| virtual void | SetData (uint32, uint32) |
| virtual void | ProcessEvent (WorldObject *obj, uint32 eventId, WorldObject *invoker) |
| virtual void | OnFlagStateChange (GameObject *flagInBase, FlagState oldValue, FlagState newValue, Player *player) |
| virtual bool | CanCaptureFlag (AreaTrigger *areaTrigger, Player *player) |
| virtual void | OnCaptureFlag (AreaTrigger *areaTrigger, Player *player) |
| virtual void | OnFlagTaken (GameObject *flag, Player *player) |
| virtual void | OnFlagDropped (ObjectGuid const &flagGuid, Player *player) |
Static Public Member Functions | |
| static BG_AV_Nodes | GetNodeThroughObject (uint32 object) |
| static StaticNodeInfo const * | GetStaticNodeInfo (BG_AV_Nodes node) |
Private Attributes | |
| std::array< int32, PVP_TEAMS_COUNT > | _teamResources |
| uint32 | _teamQuestStatus [PVP_TEAMS_COUNT][9] |
| std::array< BG_AV_NodeInfo, BG_AV_NODES_MAX > | _nodes |
| TimeTracker | _mineResourceTimer |
| std::array< AlteracValleyMineInfo, 2 > | _mineInfo |
| std::array< TimeTracker, PVP_TEAMS_COUNT > | _captainBuffTimer |
| std::array< bool, PVP_TEAMS_COUNT > | _isInformedNearVictory |
| GuidUnorderedSet | _doorGUIDs |
| ObjectGuid | _balindaGUID |
| ObjectGuid | _galvangarGUID |
| GuidUnorderedSet | _heraldGUIDs |
Additional Inherited Members | |
Protected Member Functions inherited from BattlegroundScript | |
| void | UpdateWorldState (int32 worldStateId, int32 value, bool hidden=false) const |
Protected Attributes inherited from BattlegroundScript | |
| BattlegroundMap * | battlegroundMap |
| Battleground * | battleground |
Definition at line 477 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| DATA_DEFENDER_TIER_HORDE | |
| DATA_DEFENDER_TIER_ALLIANCE | |
Definition at line 505 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| BG_AV_DEFENDER_TIER_DEFENDER | |
| BG_AV_DEFENDER_TIER_SEASONED | |
| BG_AV_DEFENDER_TIER_VETERAN | |
| BG_AV_DEFENDER_TIER_CHAMPION | |
Definition at line 511 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| FACTION_FROSTWOLF_CLAN | |
| FACTION_STORMPIKE_GUARD | |
Definition at line 562 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| HONOR_KILL_BONUS_BOSS | |
| HONOR_KILL_BONUS_CAPTAIN | |
| HONOR_KILL_BONUS_SURVIVING_TOWER | |
| HONOR_KILL_BONUS_SURVIVING_CAPTAIN | |
| HONOR_KILL_BONUS_DESTROY_TOWER | |
Definition at line 533 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| NEAR_LOSE_POINTS | |
Definition at line 528 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| PVP_STAT_TOWERS_ASSAULTED | |
| PVP_STAT_GRAVEYARDS_ASSAULTED | |
| PVP_STAT_TOWERS_DEFENDED | |
| PVP_STAT_GRAVEYARDS_DEFENDED | |
| PVP_STAT_SECONDARY_OBJECTIVES | |
Definition at line 519 of file battleground_alterac_valley.cpp.
Definition at line 479 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| REP_GAIN_BOSS | |
| REP_GAIN_CAPTAIN | |
| REP_GAIN_DESTROY_TOWER | |
| REP_GAIN_SURVIVING_TOWER | |
| REP_GAIN_SURVIVING_CAPTAIN | |
Definition at line 542 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| RESOURCE_LOSS_TOWER | |
| RESOURCE_LOSS_CAPTAIN | |
Definition at line 551 of file battleground_alterac_valley.cpp.
| Enumerator | |
|---|---|
| SPELL_COMPLETE_ALTERAC_VALLEY_QUEST | |
Definition at line 557 of file battleground_alterac_valley.cpp.
|
inlineexplicit |
Definition at line 568 of file battleground_alterac_valley.cpp.
References _captainBuffTimer, _isInformedNearVictory, _mineInfo, _mineResourceTimer, _teamQuestStatus, _teamResources, ALLIANCE, AV_WS_COLDTOOTH_MINE_ALLIANCE_CONTROLLED, AV_WS_COLDTOOTH_MINE_HORDE_CONTROLLED, AV_WS_COLDTOOTH_MINE_KOBOLD_CONTROLLED, AV_WS_COLDTOOTH_MINE_OWNER, AV_WS_IRONDEEP_MINE_ALLIANCE_CONTROLLED, AV_WS_IRONDEEP_MINE_HORDE_CONTROLLED, AV_WS_IRONDEEP_MINE_OWNER, AV_WS_IRONDEEP_MINE_TROGG_CONTROLLED, BG_AV_MINE_RESOURCE_TIMER, BG_AV_NODES_DUNBALDAR_SOUTH, BG_AV_NODES_FIRSTAID_STATION, BG_AV_NODES_FROSTWOLF_HUT, BG_AV_NODES_FROSTWOLF_WTOWER, BG_AV_NODES_ICEBLOOD_GRAVE, BG_AV_NODES_ICEBLOOD_TOWER, BG_AV_NODES_SNOWFALL_GRAVE, BG_AV_NODES_STONEHEART_BUNKER, BG_AV_NODES_STONEHEART_GRAVE, BG_AV_SCORE_INITIAL_POINTS, HORDE, InitNode(), North, TimeTracker::Reset(), South, TEAM_OTHER, TEXT_COLDTOOTH_MINE_ALLIANCE_TAKEN, TEXT_COLDTOOTH_MINE_HORDE_TAKEN, TEXT_IRONDEEP_MINE_ALLIANCE_TAKEN, TEXT_IRONDEEP_MINE_HORDE_TAKEN, and urand().
|
inline |
Definition at line 1193 of file battleground_alterac_valley.cpp.
References _nodes, and POINT_ASSAULTED.
Referenced by EventPlayerAssaultsPoint().
|
inline |
Definition at line 913 of file battleground_alterac_valley.cpp.
References _mineInfo, ALLIANCE, FindHerald(), HORDE, AlteracValleyMineInfo::Owner, SendMineWorldStates(), AlteracValleyMineInfo::StaticInfo, TEAM_OTHER, StaticMineInfo::TextIdAlliance, and StaticMineInfo::TextIdHorde.
Referenced by OnUnitKilled().
|
inline |
Definition at line 1220 of file battleground_alterac_valley.cpp.
References _nodes, and POINT_CONTROLED.
Referenced by EventPlayerDefendsPoint().
|
inline |
Definition at line 1201 of file battleground_alterac_valley.cpp.
References _nodes, POINT_CONTROLED, and POINT_DESTROYED.
Referenced by EventPlayerDestroyedPoint().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 827 of file battleground_alterac_valley.cpp.
References _teamQuestStatus, ACTION_AV_CAPTURE_CAPTURABLE_OBJECT, ACTION_AV_INTERACT_CAPTURABLE_OBJECT, ACTION_TURN_IN_BOSS_1, ACTION_TURN_IN_BOSS_2, ACTION_TURN_IN_COMMANDER_1, ACTION_TURN_IN_COMMANDER_2, ACTION_TURN_IN_COMMANDER_3, ACTION_TURN_IN_NEAR_MINE, ACTION_TURN_IN_OTHER_MINE, ACTION_TURN_IN_RIDER_HIDE, ACTION_TURN_IN_RIDER_TAME, ACTION_TURN_IN_SCRAPS, AV_WS_IVUS_STORM_CRYSTAL_COUNT, AV_WS_LOKHOLAR_STORMPIKE_SOLDIERS_BLOOD_COUNT, BattlegroundScript::battleground, EventPlayerDestroyedPoint(), BaseEntity::GetGUID(), Battleground::GetPlayerTeam(), Battleground::GetTeamIndexByTeamId(), HandleInteractCapturableObject(), BaseEntity::IsPlayer(), Battleground::RewardReputationToTeam(), TC_LOG_DEBUG, TC_LOG_ERROR, TEAM_ALLIANCE, Object::ToGameObject(), Object::ToPlayer(), and BattlegroundScript::UpdateWorldState().
|
inline |
Definition at line 1135 of file battleground_alterac_valley.cpp.
References _nodes, ALLIANCE, AssaultNode(), BattlegroundScript::battleground, BattlegroundScript::battlegroundMap, FindHerald(), BaseEntity::GetGUID(), GetNodeThroughObject(), Battleground::GetPlayerTeam(), GetStaticNodeInfo(), IsTower(), PVP_STAT_GRAVEYARDS_ASSAULTED, PVP_STAT_TOWERS_ASSAULTED, TC_LOG_DEBUG, UpdateNodeWorldState(), Battleground::UpdatePvpStat(), and Map::UpdateSpawnGroupConditions().
Referenced by HandleInteractCapturableObject().
Definition at line 1097 of file battleground_alterac_valley.cpp.
References _nodes, ALLIANCE, BattlegroundScript::battleground, BattlegroundScript::battlegroundMap, DefendNode(), FindHerald(), BaseEntity::GetGUID(), GetNodeThroughObject(), Battleground::GetPlayerTeam(), GetStaticNodeInfo(), IsTower(), POINT_ASSAULTED, PVP_STAT_GRAVEYARDS_DEFENDED, PVP_STAT_TOWERS_DEFENDED, TC_LOG_DEBUG, TC_LOG_ERROR, UpdateNodeWorldState(), Battleground::UpdatePvpStat(), and Map::UpdateSpawnGroupConditions().
Referenced by HandleInteractCapturableObject().
|
inline |
Definition at line 803 of file battleground_alterac_valley.cpp.
References _nodes, ALLIANCE, BattlegroundScript::battleground, BattlegroundScript::battlegroundMap, DestroyNode(), FACTION_FROSTWOLF_CLAN, FACTION_STORMPIKE_GUARD, FindHerald(), Battleground::GetBonusHonorFromKill(), Object::GetEntry(), GetNodeThroughObject(), GetStaticNodeInfo(), HONOR_KILL_BONUS_DESTROY_TOWER, HORDE, IsTower(), REP_GAIN_DESTROY_TOWER, RESOURCE_LOSS_TOWER, Battleground::RewardHonorToTeam(), Battleground::RewardReputationToTeam(), UpdateNodeWorldState(), UpdateScore(), and Map::UpdateSpawnGroupConditions().
Referenced by DoAction().
|
inline |
Definition at line 1299 of file battleground_alterac_valley.cpp.
References _heraldGUIDs, BattlegroundScript::battlegroundMap, and Map::GetCreature().
Referenced by ChangeMineOwner(), EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), EventPlayerDestroyedPoint(), and OnUnitKilled().
Reimplemented from ZoneScript.
Definition at line 1272 of file battleground_alterac_valley.cpp.
References _teamQuestStatus, BG_AV_DEFENDER_TIER_CHAMPION, BG_AV_DEFENDER_TIER_DEFENDER, BG_AV_DEFENDER_TIER_SEASONED, BG_AV_DEFENDER_TIER_VETERAN, DATA_DEFENDER_TIER_ALLIANCE, DATA_DEFENDER_TIER_HORDE, ZoneScript::GetData(), TEAM_ALLIANCE, and TEAM_HORDE.
|
inlinestatic |
Definition at line 935 of file battleground_alterac_valley.cpp.
References ABORT, BG_AV_NODES_DUNBALDAR_NORTH, BG_AV_NODES_DUNBALDAR_SOUTH, BG_AV_NODES_FIRSTAID_STATION, BG_AV_NODES_FROSTWOLF_ETOWER, BG_AV_NODES_FROSTWOLF_GRAVE, BG_AV_NODES_FROSTWOLF_HUT, BG_AV_NODES_FROSTWOLF_WTOWER, BG_AV_NODES_ICEBLOOD_GRAVE, BG_AV_NODES_ICEBLOOD_TOWER, BG_AV_NODES_ICEWING_BUNKER, BG_AV_NODES_SNOWFALL_GRAVE, BG_AV_NODES_STONEHEART_BUNKER, BG_AV_NODES_STONEHEART_GRAVE, BG_AV_NODES_STORMPIKE_GRAVE, BG_AV_NODES_TOWER_POINT, BG_AV_OBJECTID_AID_STATION_ALLIANCE_CONTESTED, BG_AV_OBJECTID_AID_STATION_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_AID_STATION_HORDE_CONTESTED, BG_AV_OBJECTID_AID_STATION_HORDE_CONTROLLED, BG_AV_OBJECTID_EAST_TOWER_CONTESTED_BANNER, BG_AV_OBJECTID_EAST_TOWER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_EAST_TOWER_CONTROLLED_BANNER, BG_AV_OBJECTID_EAST_TOWER_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_FROSTWOLF_ALLIANCE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_FROSTWOLF_HORDE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_HORDE_CONTROLLED, BG_AV_OBJECTID_FROSTWOLF_HUT_ALLIANCE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_HUT_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_FROSTWOLF_HUT_HORDE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_HUT_HORDE_CONTROLLED, BG_AV_OBJECTID_ICEBLOOD_ALLIANCE_CONTESTED, BG_AV_OBJECTID_ICEBLOOD_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_ICEBLOOD_HORDE_CONTESTED, BG_AV_OBJECTID_ICEBLOOD_HORDE_CONTROLLED, BG_AV_OBJECTID_ICEBLOOD_TOWER_CONTESTED_BANNER, BG_AV_OBJECTID_ICEBLOOD_TOWER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_ICEBLOOD_TOWER_CONTROLLED_BANNER, BG_AV_OBJECTID_ICEBLOOD_TOWER_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_ICEWING_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_ICEWING_BUNKER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_ICEWING_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_ICEWING_BUNKER_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_NORTH_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_NORTH_BUNKER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_NORTH_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_NORTH_BUNKER_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_SNOWFALL_ALLIANCE_CONTESTED, BG_AV_OBJECTID_SNOWFALL_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_SNOWFALL_HORDE_CONTESTED, BG_AV_OBJECTID_SNOWFALL_HORDE_CONTROLLED, BG_AV_OBJECTID_SNOWFALL_NEUTRAL, BG_AV_OBJECTID_SOUTH_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_SOUTH_BUNKER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_SOUTH_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_SOUTH_BUNKER_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_STONEHEARTH_ALLIANCE_CONTESTED, BG_AV_OBJECTID_STONEHEARTH_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_STONEHEARTH_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_STONEHEARTH_BUNKER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_STONEHEARTH_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_STONEHEARTH_BUNKER_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_STONEHEARTH_HORDE_CONTESTED, BG_AV_OBJECTID_STONEHEARTH_HORDE_CONTROLLED, BG_AV_OBJECTID_STORMPIKE_ALLIANCE_CONTESTED, BG_AV_OBJECTID_STORMPIKE_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_STORMPIKE_HORDE_CONTESTED, BG_AV_OBJECTID_STORMPIKE_HORDE_CONTROLLED, BG_AV_OBJECTID_TOWER_POINT_CONTESTED_BANNER, BG_AV_OBJECTID_TOWER_POINT_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_TOWER_POINT_CONTROLLED_BANNER, BG_AV_OBJECTID_TOWER_POINT_CONTROLLED_TOWER_BANNER, BG_AV_OBJECTID_WEST_TOWER_CONTESTED_BANNER, BG_AV_OBJECTID_WEST_TOWER_CONTESTED_TOWER_BANNER, BG_AV_OBJECTID_WEST_TOWER_CONTROLLED_BANNER, BG_AV_OBJECTID_WEST_TOWER_CONTROLLED_TOWER_BANNER, and TC_LOG_ERROR.
Referenced by EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), EventPlayerDestroyedPoint(), and HandleInteractCapturableObject().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 1228 of file battleground_alterac_valley.cpp.
References _teamResources, ALLIANCE, BattlegroundScript::GetPrematureWinner(), Battleground::GetTeamIndexByTeamId(), and HORDE.
|
inlinestatic |
Definition at line 1309 of file battleground_alterac_valley.cpp.
References BGAVNodeInfo.
Referenced by EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), EventPlayerDestroyedPoint(), and UpdateNodeWorldState().
|
inline |
Definition at line 1022 of file battleground_alterac_valley.cpp.
References _nodes, BG_AV_OBJECTID_AID_STATION_ALLIANCE_CONTESTED, BG_AV_OBJECTID_AID_STATION_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_AID_STATION_HORDE_CONTESTED, BG_AV_OBJECTID_AID_STATION_HORDE_CONTROLLED, BG_AV_OBJECTID_EAST_TOWER_CONTESTED_BANNER, BG_AV_OBJECTID_EAST_TOWER_CONTROLLED_BANNER, BG_AV_OBJECTID_FROSTWOLF_ALLIANCE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_FROSTWOLF_HORDE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_HORDE_CONTROLLED, BG_AV_OBJECTID_FROSTWOLF_HUT_ALLIANCE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_HUT_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_FROSTWOLF_HUT_HORDE_CONTESTED, BG_AV_OBJECTID_FROSTWOLF_HUT_HORDE_CONTROLLED, BG_AV_OBJECTID_ICEBLOOD_ALLIANCE_CONTESTED, BG_AV_OBJECTID_ICEBLOOD_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_ICEBLOOD_HORDE_CONTESTED, BG_AV_OBJECTID_ICEBLOOD_HORDE_CONTROLLED, BG_AV_OBJECTID_ICEBLOOD_TOWER_CONTESTED_BANNER, BG_AV_OBJECTID_ICEBLOOD_TOWER_CONTROLLED_BANNER, BG_AV_OBJECTID_ICEWING_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_ICEWING_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_NORTH_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_NORTH_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_SNOWFALL_ALLIANCE_CONTESTED, BG_AV_OBJECTID_SNOWFALL_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_SNOWFALL_HORDE_CONTESTED, BG_AV_OBJECTID_SNOWFALL_HORDE_CONTROLLED, BG_AV_OBJECTID_SNOWFALL_NEUTRAL, BG_AV_OBJECTID_SOUTH_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_SOUTH_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_STONEHEARTH_ALLIANCE_CONTESTED, BG_AV_OBJECTID_STONEHEARTH_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_STONEHEARTH_BUNKER_CONTESTED_BANNER, BG_AV_OBJECTID_STONEHEARTH_BUNKER_CONTROLLED_BANNER, BG_AV_OBJECTID_STONEHEARTH_HORDE_CONTESTED, BG_AV_OBJECTID_STONEHEARTH_HORDE_CONTROLLED, BG_AV_OBJECTID_STORMPIKE_ALLIANCE_CONTESTED, BG_AV_OBJECTID_STORMPIKE_ALLIANCE_CONTROLLED, BG_AV_OBJECTID_STORMPIKE_HORDE_CONTESTED, BG_AV_OBJECTID_STORMPIKE_HORDE_CONTROLLED, BG_AV_OBJECTID_TOWER_POINT_CONTESTED_BANNER, BG_AV_OBJECTID_TOWER_POINT_CONTROLLED_BANNER, BG_AV_OBJECTID_WEST_TOWER_CONTESTED_BANNER, BG_AV_OBJECTID_WEST_TOWER_CONTROLLED_BANNER, EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), Object::GetEntry(), GetNodeThroughObject(), and TEAM_OTHER.
Referenced by DoAction().
|
inline |
Definition at line 1209 of file battleground_alterac_valley.cpp.
References _nodes, and POINT_CONTROLED.
Referenced by battleground_alterac_valley().
|
inline |
Definition at line 725 of file battleground_alterac_valley.cpp.
References AV_WS_BALINDA_ALIVE, AV_WS_GALVAGAR_ALIVE, BattlegroundScript::battlegroundMap, Map::GetWorldStateValue(), TEAM_ALLIANCE, and TEAM_HORDE.
Referenced by OnEnd(), and OnUpdate().
|
inline |
Definition at line 1318 of file battleground_alterac_valley.cpp.
References _nodes.
Referenced by EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), and EventPlayerDestroyedPoint().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 1254 of file battleground_alterac_valley.cpp.
References _balindaGUID, _galvangarGUID, _heraldGUIDs, BG_AV_CREATURE_BALINDA, BG_AV_CREATURE_GALVANGAR, BG_AV_CREATURE_HERALD, Object::GetEntry(), and BaseEntity::GetGUID().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 755 of file battleground_alterac_valley.cpp.
References _nodes, ALLIANCE, BattlegroundScript::battleground, BG_AV_NODES_DUNBALDAR_SOUTH, BG_AV_NODES_FROSTWOLF_WTOWER, FACTION_FROSTWOLF_CLAN, FACTION_STORMPIKE_GUARD, Battleground::GetBonusHonorFromKill(), HONOR_KILL_BONUS_SURVIVING_CAPTAIN, HONOR_KILL_BONUS_SURVIVING_TOWER, HORDE, IsCaptainAlive(), BattlegroundScript::OnEnd(), Owner, POINT_CONTROLED, REP_GAIN_SURVIVING_CAPTAIN, REP_GAIN_SURVIVING_TOWER, Battleground::RewardHonorToTeam(), Battleground::RewardReputationToTeam(), TEAM_ALLIANCE, and TEAM_HORDE.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 1241 of file battleground_alterac_valley.cpp.
References _doorGUIDs, BG_AV_GHOST_GATE, BG_AV_OBJECTID_GATE, Object::GetEntry(), and BaseEntity::GetGUID().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 642 of file battleground_alterac_valley.cpp.
References BattlegroundScript::battleground, BaseEntity::GetGUID(), Battleground::GetPlayerTeam(), and UpdateScore().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 794 of file battleground_alterac_valley.cpp.
References AV_BUFF_ARMOR, BattlegroundScript::OnPlayerLeft(), and Unit::RemoveAurasDueToSpell().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 736 of file battleground_alterac_valley.cpp.
References _doorGUIDs, AV_WS_SHOW_ALLIANCE_REINFORCEMENTS, AV_WS_SHOW_HORDE_REINFORCEMENTS, BattlegroundScript::battlegroundMap, BG_AV_EVENT_START_BATTLE, BG_AV_GHOST_GATE, Map::GetGameObject(), BattlegroundScript::TriggerGameEvent(), and BattlegroundScript::UpdateWorldState().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 647 of file battleground_alterac_valley.cpp.
References _mineInfo, ALLIANCE, AV_WS_BALINDA_ALIVE, AV_WS_DREKTHAR_ALIVE, AV_WS_GALVAGAR_ALIVE, AV_WS_VANDAAR_ALIVE, BattlegroundScript::battleground, BG_AV_CREATURE_AGI_RUMBLESTOMP, BG_AV_CREATURE_BALINDA, BG_AV_CREATURE_DREKTHAR, BG_AV_CREATURE_GALVANGAR, BG_AV_CREATURE_KEETAR, BG_AV_CREATURE_MASHA_SWIFTCUT, BG_AV_CREATURE_MORLOCH, BG_AV_CREATURE_TASKMASTER_SNIVVLE, BG_AV_CREATURE_UMI_THORSON, BG_AV_CREATURE_VANNDAR, Battleground::CastSpellOnTeam(), ChangeMineOwner(), Battleground::EndBattleground(), FACTION_FROSTWOLF_CLAN, FACTION_STORMPIKE_GUARD, FindHerald(), Battleground::GetBonusHonorFromKill(), WorldObject::GetCharmerOrOwnerPlayerOrPlayerItself(), Object::GetEntry(), Battleground::GetPlayerTeam(), HONOR_KILL_BONUS_BOSS, HONOR_KILL_BONUS_CAPTAIN, HORDE, North, Owner, REP_GAIN_BOSS, REP_GAIN_CAPTAIN, RESOURCE_LOSS_CAPTAIN, Battleground::RewardHonorToTeam(), Battleground::RewardReputationToTeam(), South, SPELL_COMPLETE_ALTERAC_VALLEY_QUEST, TEAM_OTHER, TEXT_FROSTWOLF_GENERAL_DEAD, TEXT_STORMPIKE_GENERAL_DEAD, UpdateScore(), and BattlegroundScript::UpdateWorldState().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 597 of file battleground_alterac_valley.cpp.
References _balindaGUID, _captainBuffTimer, _galvangarGUID, _mineInfo, _mineResourceTimer, ACTION_BUFF_YELL, ALLIANCE, AV_BUFF_A_CAPTAIN, AV_BUFF_H_CAPTAIN, BattlegroundScript::battleground, BattlegroundScript::battlegroundMap, BG_AV_MINE_RESOURCE_TIMER, Battleground::CastSpellOnTeam(), Map::GetCreature(), Battleground::GetStatus(), HORDE, IsCaptainAlive(), TimeTracker::Passed(), TimeTracker::Reset(), STATUS_IN_PROGRESS, TEAM_ALLIANCE, TEAM_HORDE, TEAM_OTHER, TimeTracker::Update(), UpdateScore(), and urand().
|
inline |
Definition at line 1184 of file battleground_alterac_valley.cpp.
References _mineInfo, ALLIANCE, HORDE, AlteracValleyMineInfo::Owner, AlteracValleyMineInfo::StaticInfo, TEAM_OTHER, BattlegroundScript::UpdateWorldState(), StaticMineInfo::WorldStateAllianceControlled, StaticMineInfo::WorldStateHordeControlled, StaticMineInfo::WorldStateNeutralControlled, and StaticMineInfo::WorldStateOwner.
Referenced by ChangeMineOwner().
|
inline |
Definition at line 1165 of file battleground_alterac_valley.cpp.
References _nodes, ALLIANCE, AV_WS_SNOWFALL_GRAVEYARD_UNCONTROLLED, BG_AV_NODES_SNOWFALL_GRAVE, GetStaticNodeInfo(), HORDE, Owner, POINT_ASSAULTED, POINT_DESTROYED, TEAM_OTHER, and BattlegroundScript::UpdateWorldState().
Referenced by EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), and EventPlayerDestroyedPoint().
Definition at line 1320 of file battleground_alterac_valley.cpp.
References _isInformedNearVictory, _teamResources, ALLIANCE, ASSERT, AV_SOUND_NEAR_VICTORY, AV_WS_ALLIANCE_REINFORCEMENTS, AV_WS_HORDE_REINFORCEMENTS, BattlegroundScript::battleground, BG_AV_TEXT_ALLIANCE_NEAR_LOSE, BG_AV_TEXT_HORDE_NEAR_LOSE, CHAT_MSG_BG_SYSTEM_ALLIANCE, CHAT_MSG_BG_SYSTEM_HORDE, Battleground::EndBattleground(), Battleground::GetTeamIndexByTeamId(), HORDE, NEAR_LOSE_POINTS, Battleground::PlaySoundToAll(), Battleground::SendBroadcastText(), TEAM_ALLIANCE, TEAM_HORDE, and BattlegroundScript::UpdateWorldState().
Referenced by EventPlayerDestroyedPoint(), OnPlayerKilled(), OnUnitKilled(), and OnUpdate().
|
private |
Definition at line 1361 of file battleground_alterac_valley.cpp.
Referenced by OnCreatureCreate(), and OnUpdate().
|
private |
Definition at line 1357 of file battleground_alterac_valley.cpp.
Referenced by battleground_alterac_valley(), and OnUpdate().
|
private |
Definition at line 1360 of file battleground_alterac_valley.cpp.
Referenced by OnGameObjectCreate(), and OnStart().
|
private |
Definition at line 1362 of file battleground_alterac_valley.cpp.
Referenced by OnCreatureCreate(), and OnUpdate().
|
private |
Definition at line 1363 of file battleground_alterac_valley.cpp.
Referenced by FindHerald(), and OnCreatureCreate().
|
private |
Definition at line 1359 of file battleground_alterac_valley.cpp.
Referenced by battleground_alterac_valley(), and UpdateScore().
|
private |
Definition at line 1355 of file battleground_alterac_valley.cpp.
Referenced by battleground_alterac_valley(), ChangeMineOwner(), OnUnitKilled(), OnUpdate(), and SendMineWorldStates().
|
private |
Definition at line 1353 of file battleground_alterac_valley.cpp.
Referenced by battleground_alterac_valley(), and OnUpdate().
|
private |
Definition at line 1351 of file battleground_alterac_valley.cpp.
Referenced by AssaultNode(), DefendNode(), DestroyNode(), EventPlayerAssaultsPoint(), EventPlayerDefendsPoint(), EventPlayerDestroyedPoint(), HandleInteractCapturableObject(), InitNode(), IsTower(), OnEnd(), and UpdateNodeWorldState().
|
private |
Definition at line 1349 of file battleground_alterac_valley.cpp.
Referenced by battleground_alterac_valley(), DoAction(), and GetData().
|
private |
Definition at line 1348 of file battleground_alterac_valley.cpp.
Referenced by battleground_alterac_valley(), GetPrematureWinner(), and UpdateScore().