TrinityCore
Loading...
Searching...
No Matches
battleground_seething_shore Struct Referencefinal
+ 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< uint32SelectAzeriteNodesToSpawn () 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
 
ZoneScriptoperator= (ZoneScript const &right)
 
ZoneScriptoperator= (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
BattlegroundMapbattlegroundMap
 
Battlegroundbattleground
 

Detailed Description

Definition at line 187 of file battleground_seething_shore.cpp.

Constructor & Destructor Documentation

◆ battleground_seething_shore()

battleground_seething_shore::battleground_seething_shore ( BattlegroundMap map)
inlineexplicit

Definition at line 193 of file battleground_seething_shore.cpp.

Member Function Documentation

◆ DoAction()

void battleground_seething_shore::DoAction ( uint32  actionId,
WorldObject source,
WorldObject target 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 344 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ HandleAssaultPoint()

void battleground_seething_shore::HandleAssaultPoint ( GameObject capturePoint,
Player player 
)
inline

Definition at line 243 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ OnCreatureCreate()

void battleground_seething_shore::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 296 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void battleground_seething_shore::OnGameObjectCreate ( GameObject gameobject)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 317 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectRemove()

void battleground_seething_shore::OnGameObjectRemove ( GameObject gameobject)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 330 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ OnPrepareStage2()

void battleground_seething_shore::OnPrepareStage2 ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 204 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ OnPrepareStage3()

void battleground_seething_shore::OnPrepareStage3 ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 211 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ OnStart()

void battleground_seething_shore::OnStart ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 225 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ OnUpdate()

void battleground_seething_shore::OnUpdate ( uint32  diff)
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 199 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ SelectAzeriteNodesToSpawn()

std::vector< uint32 > battleground_seething_shore::SelectAzeriteNodesToSpawn ( ) const
inline

Definition at line 383 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SelectBuffsToSpawn()

std::vector< std::string_view > battleground_seething_shore::SelectBuffsToSpawn ( ) const
inline

Definition at line 433 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SpawnAzeriteNodes()

void battleground_seething_shore::SpawnAzeriteNodes ( )
inline

Definition at line 361 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:

◆ SpawnBuffs()

void battleground_seething_shore::SpawnBuffs ( )
inline

Definition at line 405 of file battleground_seething_shore.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ _activeAzeriteNodes

std::set<uint32> battleground_seething_shore::_activeAzeriteNodes
private

Definition at line 454 of file battleground_seething_shore.cpp.

◆ _activeBuffs

std::set<std::string_view> battleground_seething_shore::_activeBuffs
private

Definition at line 455 of file battleground_seething_shore.cpp.

◆ _airSupplyGroundDummyGUIDs

GuidVector battleground_seething_shore::_airSupplyGroundDummyGUIDs
private

Definition at line 456 of file battleground_seething_shore.cpp.

◆ _commanderGUIDs

std::array<ObjectGuid, PVP_TEAMS_COUNT> battleground_seething_shore::_commanderGUIDs
private

Definition at line 457 of file battleground_seething_shore.cpp.

◆ _controllerGUID

ObjectGuid battleground_seething_shore::_controllerGUID
private

Definition at line 451 of file battleground_seething_shore.cpp.

◆ _doors

GuidVector battleground_seething_shore::_doors
private

Definition at line 448 of file battleground_seething_shore.cpp.

◆ _firstSetDone

bool battleground_seething_shore::_firstSetDone
private

Definition at line 447 of file battleground_seething_shore.cpp.

◆ _isInformedNearVictory

std::array<bool, PVP_TEAMS_COUNT> battleground_seething_shore::_isInformedNearVictory
private

Definition at line 452 of file battleground_seething_shore.cpp.

◆ _scheduler

TaskScheduler battleground_seething_shore::_scheduler
private

Definition at line 450 of file battleground_seething_shore.cpp.

◆ MAX_AZERITE_SPAWNS

constexpr uint8 battleground_seething_shore::MAX_AZERITE_SPAWNS = 3
staticconstexpr

Definition at line 190 of file battleground_seething_shore.cpp.

◆ MAX_BUFF_SPAWNS

constexpr uint8 battleground_seething_shore::MAX_BUFF_SPAWNS = 3
staticconstexpr

Definition at line 191 of file battleground_seething_shore.cpp.

◆ WARNING_NEAR_VICTORY_SCORE

constexpr uint32 battleground_seething_shore::WARNING_NEAR_VICTORY_SCORE = 1200
staticconstexpr

Definition at line 189 of file battleground_seething_shore.cpp.


The documentation for this struct was generated from the following file: