![]() |
TrinityCore
|
Inheritance diagram for battleground_seething_shore:Public Member Functions | |
| battleground_seething_shore (BattlegroundMap *map) | |
| void | OnUpdate (uint32 diff) override |
| void | OnPrepareStage2 () override |
| void | OnPrepareStage3 () override |
| void | OnStart () override |
| void | HandleAssaultPoint (GameObject *capturePoint, Player *player) |
| void | OnCreatureCreate (Creature *creature) override |
| void | OnGameObjectCreate (GameObject *gameobject) override |
| void | OnGameObjectRemove (GameObject *gameobject) override |
| void | DoAction (uint32 actionId, WorldObject *source, WorldObject *target) override |
| void | SpawnAzeriteNodes () |
| std::vector< uint32 > | SelectAzeriteNodesToSpawn () const |
| void | SpawnBuffs () |
| std::vector< std::string_view > | SelectBuffsToSpawn () const |
Public Member Functions inherited from BattlegroundScript | |
| BattlegroundScript (BattlegroundMap *map) noexcept | |
| ~BattlegroundScript () override=default | |
| virtual void | OnInit () |
| virtual void | OnPrepareStage1 () |
| virtual void | OnEnd (Team winner) |
| virtual void | OnPlayerJoined (Player *player, bool inBattleground) |
| virtual void | OnPlayerLeft (Player *player) |
| virtual void | OnPlayerKilled (Player *victim, Player *killer) |
| virtual void | OnUnitKilled (Creature *victim, Unit *killer) |
| virtual Team | GetPrematureWinner () |
| 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 | 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 uint32 | GetData (uint32) const |
| 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 Attributes | |
| static constexpr uint32 | WARNING_NEAR_VICTORY_SCORE = 1200 |
| static constexpr uint8 | MAX_AZERITE_SPAWNS = 3 |
| static constexpr uint8 | MAX_BUFF_SPAWNS = 3 |
Private Attributes | |
| bool | _firstSetDone |
| GuidVector | _doors |
| TaskScheduler | _scheduler |
| ObjectGuid | _controllerGUID |
| std::array< bool, PVP_TEAMS_COUNT > | _isInformedNearVictory |
| std::set< uint32 > | _activeAzeriteNodes |
| std::set< std::string_view > | _activeBuffs |
| GuidVector | _airSupplyGroundDummyGUIDs |
| std::array< ObjectGuid, PVP_TEAMS_COUNT > | _commanderGUIDs |
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 185 of file battleground_seething_shore.cpp.
|
inlineexplicit |
Definition at line 191 of file battleground_seething_shore.cpp.
References _commanderGUIDs, and _isInformedNearVictory.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 342 of file battleground_seething_shore.cpp.
References _activeBuffs, SeethingShore::Creatures::AirSupplyGroundDummy, SeethingShore::Actions::CaptureAzeriteNode, SeethingShore::Actions::ConsumeBuff, WorldObject::FindNearestCreature(), HandleAssaultPoint(), Spawn, Object::ToGameObject(), and Object::ToPlayer().
Referenced by OnGameObjectRemove().
|
inline |
Definition at line 241 of file battleground_seething_shore.cpp.
References _activeAzeriteNodes, _commanderGUIDs, _isInformedNearVictory, SeethingShore::Spells::AchievementCredit, SeethingShore::Spells::AchievementCreditClaimJumper, SeethingShore::Spells::AchievementTrackerCreditClaimJumper, Battleground::AddPoint(), ALLIANCE, SeethingShore::Texts::AllianceNearVictory, SeethingShore::WorldStates::AllianceScore, BattlegroundScript::battleground, BattlegroundScript::battlegroundMap, SeethingShore::Actions::CaptureAzeriteNode, SeethingShore::Spells::CapturedAllianceCosmeticFx, SeethingShore::PvpStats::CapturedAzerite, SeethingShore::Spells::CapturedHordeCosmeticFx, WorldObject::CastSpell(), CHAT_MSG_BG_SYSTEM_NEUTRAL, GameObject::DespawnOrUnsummon(), Battleground::EndBattleground(), WorldObject::GetAreaId(), Map::GetCreature(), BaseEntity::GetGUID(), Battleground::GetPlayerTeam(), GetTeamIdForTeam(), Battleground::GetTeamScore(), Map::GetWorldStateValue(), Unit::HasAura(), HORDE, SeethingShore::Texts::HordeNearVictory, SeethingShore::WorldStates::HordeScore, SeethingShore::WorldStates::MaxScore, Battleground::PlaySoundToAll(), SeethingShore::Sounds::PvpFlagCapturedAlliance, SeethingShore::Sounds::PvpFlagCapturedHorde, Battleground::SendBroadcastText(), GameObject::SendCustomAnim(), GameObject::SetAnimKitId(), TEAM_ALLIANCE, TEAM_HORDE, Battleground::UpdatePvpStat(), BattlegroundScript::UpdateWorldState(), and WARNING_NEAR_VICTORY_SCORE.
Referenced by DoAction().
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 294 of file battleground_seething_shore.cpp.
References _airSupplyGroundDummyGUIDs, _commanderGUIDs, _controllerGUID, SeethingShore::Creatures::AirSupplyGroundDummy, SeethingShore::Creatures::Controller, Object::GetEntry(), BaseEntity::GetGUID(), SeethingShore::Creatures::MathiasShaw, SeethingShore::Creatures::NathanosBlightCaller, TEAM_ALLIANCE, and TEAM_HORDE.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 315 of file battleground_seething_shore.cpp.
References _doors, SeethingShore::GameObjects::AllianceAirshipPrepCollision, Object::GetEntry(), BaseEntity::GetGUID(), and SeethingShore::GameObjects::HordeAirshipPrepCollision.
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 328 of file battleground_seething_shore.cpp.
References SeethingShore::GameObjects::BerserkBuff, SeethingShore::Actions::ConsumeBuff, DoAction(), SeethingShore::GameObjects::FoodBuff, Object::GetEntry(), and SeethingShore::GameObjects::SpeedBuff.
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 202 of file battleground_seething_shore.cpp.
References _commanderGUIDs, BattlegroundScript::battlegroundMap, SeethingShore::Actions::CommanderText1, and Map::GetCreature().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 209 of file battleground_seething_shore.cpp.
References _activeAzeriteNodes, _scheduler, MAX_AZERITE_SPAWNS, TaskContext::Repeat(), and TaskScheduler::Schedule().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 223 of file battleground_seething_shore.cpp.
References _doors, _scheduler, BattlegroundScript::battlegroundMap, Map::GetGameObject(), TaskContext::Repeat(), TaskScheduler::Schedule(), and SpawnBuffs().
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 197 of file battleground_seething_shore.cpp.
References _scheduler, and TaskScheduler::Update().
|
inline |
Definition at line 381 of file battleground_seething_shore.cpp.
References _activeAzeriteNodes, _firstSetDone, SeethingShore::Areas::AzeriteNodes, MAX_AZERITE_SPAWNS, Trinity::Containers::RandomResize(), SeethingShore::Areas::Ridge, SeethingShore::Areas::Ruins, and SeethingShore::Areas::TarPits.
Referenced by SpawnAzeriteNodes().
|
inline |
Definition at line 431 of file battleground_seething_shore.cpp.
References _activeBuffs, SeethingShore::StringIds::AirSupplyGroundDummies, MAX_BUFF_SPAWNS, and Trinity::Containers::RandomResize().
Referenced by SpawnBuffs().
|
inline |
Definition at line 359 of file battleground_seething_shore.cpp.
References _activeAzeriteNodes, _controllerGUID, _firstSetDone, SeethingShore::Spells::ActivateAzerite, SeethingShore::Texts::AzeriteSpawning, BattlegroundScript::battleground, BattlegroundScript::battlegroundMap, WorldObject::CastSpell(), CHAT_MSG_BG_SYSTEM_NEUTRAL, Map::DoOnPlayers(), SeethingShore::Spells::EarthQuakeCameraShake, Map::GetCreature(), SelectAzeriteNodesToSpawn(), Battleground::SendBroadcastText(), and CastSpellExtraArgs::SetCustomArg().
|
inline |
Definition at line 403 of file battleground_seething_shore.cpp.
References _activeBuffs, _airSupplyGroundDummyGUIDs, _commanderGUIDs, BattlegroundScript::battlegroundMap, Map::GetCreature(), SelectBuffsToSpawn(), Spawn, and SeethingShore::Actions::SpawnBuff.
Referenced by OnStart().
|
private |
Definition at line 452 of file battleground_seething_shore.cpp.
Referenced by HandleAssaultPoint(), OnPrepareStage3(), SelectAzeriteNodesToSpawn(), and SpawnAzeriteNodes().
|
private |
Definition at line 453 of file battleground_seething_shore.cpp.
Referenced by DoAction(), SelectBuffsToSpawn(), and SpawnBuffs().
|
private |
Definition at line 454 of file battleground_seething_shore.cpp.
Referenced by OnCreatureCreate(), and SpawnBuffs().
|
private |
Definition at line 455 of file battleground_seething_shore.cpp.
Referenced by battleground_seething_shore(), HandleAssaultPoint(), OnCreatureCreate(), OnPrepareStage2(), and SpawnBuffs().
|
private |
Definition at line 449 of file battleground_seething_shore.cpp.
Referenced by OnCreatureCreate(), and SpawnAzeriteNodes().
|
private |
Definition at line 446 of file battleground_seething_shore.cpp.
Referenced by OnGameObjectCreate(), and OnStart().
|
private |
Definition at line 445 of file battleground_seething_shore.cpp.
Referenced by SelectAzeriteNodesToSpawn(), and SpawnAzeriteNodes().
|
private |
Definition at line 450 of file battleground_seething_shore.cpp.
Referenced by battleground_seething_shore(), and HandleAssaultPoint().
|
private |
Definition at line 448 of file battleground_seething_shore.cpp.
Referenced by OnPrepareStage3(), OnStart(), and OnUpdate().
|
staticconstexpr |
Definition at line 188 of file battleground_seething_shore.cpp.
Referenced by OnPrepareStage3(), and SelectAzeriteNodesToSpawn().
|
staticconstexpr |
Definition at line 189 of file battleground_seething_shore.cpp.
Referenced by SelectBuffsToSpawn().
|
staticconstexpr |
Definition at line 187 of file battleground_seething_shore.cpp.
Referenced by HandleAssaultPoint().