TrinityCore
Loading...
Searching...
No Matches
battleground_temple_of_kotmogu Struct Referencefinal
+ Inheritance diagram for battleground_temple_of_kotmogu:

Public Member Functions

 battleground_temple_of_kotmogu (BattlegroundMap *map)
 
void OnInit () override
 
void OnUpdate (uint32 diff) override
 
void OnPrepareStage3 () override
 
void OnStart () override
 
void OnGameObjectCreate (GameObject *gameobject) override
 
void OnCreatureCreate (Creature *creature) override
 
void OnFlagTaken (GameObject *flag, Player *player) override
 
void OnFlagDropped (ObjectGuid const &flagGuid, Player *player) override
 
void DoAction (uint32 actionId, WorldObject *source, WorldObject *target) override
 
void HandleConsumeAreaTrigger (AreaTrigger *trigger, Player *player)
 
bool CheckWinner () const
 
void SpawnHealingBuff (std::size_t index)
 
void SpawnOrb (TempleOfKotmogu::StaticOrbData const *orbData) const
 
- Public Member Functions inherited from BattlegroundScript
 BattlegroundScript (BattlegroundMap *map) noexcept
 
 ~BattlegroundScript () override=default
 
virtual void OnPrepareStage1 ()
 
virtual void OnPrepareStage2 ()
 
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 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 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)
 

Static Public Member Functions

static constexpr TempleOfKotmogu::StaticOrbData const * GetOrbData (uint32 orbEntry)
 

Private Attributes

TaskScheduler _scheduler
 
GuidVector _walls
 
GuidVector _collisions
 
GuidSet _orbHolders
 
ObjectGuid _triggerGuid
 
std::array< ObjectGuid, 4 > _healingBuffs
 

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 222 of file battleground_temple_of_kotmogu.cpp.

Constructor & Destructor Documentation

◆ battleground_temple_of_kotmogu()

battleground_temple_of_kotmogu::battleground_temple_of_kotmogu ( BattlegroundMap map)
inlineexplicit

Definition at line 224 of file battleground_temple_of_kotmogu.cpp.

Member Function Documentation

◆ CheckWinner()

bool battleground_temple_of_kotmogu::CheckWinner ( ) const
inline

Definition at line 402 of file battleground_temple_of_kotmogu.cpp.

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

◆ DoAction()

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

Reimplemented from ZoneScript.

Definition at line 364 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ GetOrbData()

static constexpr TempleOfKotmogu::StaticOrbData const * battleground_temple_of_kotmogu::GetOrbData ( uint32  orbEntry)
inlinestaticconstexpr

Definition at line 437 of file battleground_temple_of_kotmogu.cpp.

+ Here is the caller graph for this function:

◆ HandleConsumeAreaTrigger()

void battleground_temple_of_kotmogu::HandleConsumeAreaTrigger ( AreaTrigger trigger,
Player player 
)
inline

Definition at line 380 of file battleground_temple_of_kotmogu.cpp.

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

◆ OnCreatureCreate()

void battleground_temple_of_kotmogu::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 292 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnFlagDropped()

void battleground_temple_of_kotmogu::OnFlagDropped ( ObjectGuid const &  flagGuid,
Player player 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 341 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnFlagTaken()

void battleground_temple_of_kotmogu::OnFlagTaken ( GameObject flag,
Player player 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 306 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void battleground_temple_of_kotmogu::OnGameObjectCreate ( GameObject gameobject)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 277 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnInit()

void battleground_temple_of_kotmogu::OnInit ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 229 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnPrepareStage3()

void battleground_temple_of_kotmogu::OnPrepareStage3 ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 240 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnStart()

void battleground_temple_of_kotmogu::OnStart ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 250 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ OnUpdate()

void battleground_temple_of_kotmogu::OnUpdate ( uint32  diff)
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 235 of file battleground_temple_of_kotmogu.cpp.

+ Here is the call graph for this function:

◆ SpawnHealingBuff()

void battleground_temple_of_kotmogu::SpawnHealingBuff ( std::size_t  index)
inline

Definition at line 430 of file battleground_temple_of_kotmogu.cpp.

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

◆ SpawnOrb()

void battleground_temple_of_kotmogu::SpawnOrb ( TempleOfKotmogu::StaticOrbData const *  orbData) const
inline

Definition at line 454 of file battleground_temple_of_kotmogu.cpp.

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

Member Data Documentation

◆ _collisions

GuidVector battleground_temple_of_kotmogu::_collisions
private

Definition at line 467 of file battleground_temple_of_kotmogu.cpp.

◆ _healingBuffs

std::array<ObjectGuid, 4> battleground_temple_of_kotmogu::_healingBuffs
private

Definition at line 471 of file battleground_temple_of_kotmogu.cpp.

◆ _orbHolders

GuidSet battleground_temple_of_kotmogu::_orbHolders
private

Definition at line 468 of file battleground_temple_of_kotmogu.cpp.

◆ _scheduler

TaskScheduler battleground_temple_of_kotmogu::_scheduler
private

Definition at line 465 of file battleground_temple_of_kotmogu.cpp.

◆ _triggerGuid

ObjectGuid battleground_temple_of_kotmogu::_triggerGuid
private

Definition at line 469 of file battleground_temple_of_kotmogu.cpp.

◆ _walls

GuidVector battleground_temple_of_kotmogu::_walls
private

Definition at line 466 of file battleground_temple_of_kotmogu.cpp.


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