TrinityCore
Loading...
Searching...
No Matches
battleground_isle_of_conquest Struct Reference
+ Inheritance diagram for battleground_isle_of_conquest:

Public Member Functions

 battleground_isle_of_conquest (BattlegroundMap *map)
 
void OnUpdate (uint32 diff) override
 
void OnStart () override
 
void OnUnitKilled (Creature *unit, Unit *killer) override
 
void OnPlayerKilled (Player *player, Player *killer) override
 
void UpdateNodeWorldState (ICNodePoint const &node) const
 
void HandleCapturedNodes (ICNodePoint &node)
 
void OnCreatureCreate (Creature *creature) override
 
void OnGameObjectCreate (GameObject *gameobject) override
 
void OnInit () override
 
void DoAction (uint32 actionId, WorldObject *source, WorldObject *target) override
 
void OnPlayerInteractWithBanner (Player *player, GameObject *banner)
 
void OnPlayerAssaultNode (Player *player, ICNodePoint &node)
 
void OnPlayerDefendNode (Player *player, ICNodePoint &node)
 
void ProcessEvent (WorldObject *target, uint32 eventId, WorldObject *invoker) override
 
void HandleCaptureNodeAction (GameObject *banner)
 
void OnGateDestroyed (GameObject *gate, WorldObject *destroyer)
 
- Public Member Functions inherited from BattlegroundScript
 BattlegroundScript (BattlegroundMap *map) noexcept
 
 ~BattlegroundScript () override=default
 
virtual void OnPrepareStage1 ()
 
virtual void OnPrepareStage2 ()
 
virtual void OnPrepareStage3 ()
 
virtual void OnEnd (Team winner)
 
virtual void OnPlayerJoined (Player *player, bool inBattleground)
 
virtual void OnPlayerLeft (Player *player)
 
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 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 uint32 GetGateIDFromEntry (uint32 id)
 
static int32 GetWorldStateFromGateEntry (uint32 id, bool open)
 
static ICNodePointType BannerToNodeType (uint32 bannerId)
 

Private Attributes

std::array< uint16, PVP_TEAMS_COUNT_factionReinforcements
 
std::array< BG_IC_GateState, 6 > _gateStatus
 
std::array< std::unique_ptr< ICNodePoint >, 7 > _nodePoints
 
std::array< ObjectGuid, PVP_TEAMS_COUNT_gunshipGUIDs
 
GuidVector _teleporterGUIDs
 
GuidVector _teleporterEffectGUIDs
 
GuidVector _mainGateDoorGUIDs
 
GuidVector _portcullisGUIDs
 
GuidVector _wallGUIDs
 
std::array< GuidVector, PVP_TEAMS_COUNT_cannonGUIDs
 
std::array< GuidVector, PVP_TEAMS_COUNT_keepGateGUIDs
 
std::array< ObjectGuid, PVP_TEAMS_COUNT_keepBannerGUIDs
 
ObjectGuid _gunshipTeleportTarget
 
TaskScheduler _scheduler
 
TimeTracker _resourceTimer
 

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 288 of file battleground_isle_of_conquest.cpp.

Constructor & Destructor Documentation

◆ battleground_isle_of_conquest()

battleground_isle_of_conquest::battleground_isle_of_conquest ( BattlegroundMap map)
inlineexplicit

Definition at line 290 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ BannerToNodeType()

static ICNodePointType battleground_isle_of_conquest::BannerToNodeType ( uint32  bannerId)
inlinestatic

Definition at line 483 of file battleground_isle_of_conquest.cpp.

+ Here is the caller graph for this function:

◆ DoAction()

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

Reimplemented from ZoneScript.

Definition at line 657 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ GetGateIDFromEntry()

static uint32 battleground_isle_of_conquest::GetGateIDFromEntry ( uint32  id)
inlinestatic

Definition at line 423 of file battleground_isle_of_conquest.cpp.

+ Here is the caller graph for this function:

◆ GetWorldStateFromGateEntry()

static int32 battleground_isle_of_conquest::GetWorldStateFromGateEntry ( uint32  id,
bool  open 
)
inlinestatic

Definition at line 444 of file battleground_isle_of_conquest.cpp.

+ Here is the caller graph for this function:

◆ HandleCapturedNodes()

void battleground_isle_of_conquest::HandleCapturedNodes ( ICNodePoint node)
inline

Definition at line 534 of file battleground_isle_of_conquest.cpp.

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

◆ HandleCaptureNodeAction()

void battleground_isle_of_conquest::HandleCaptureNodeAction ( GameObject banner)
inline

Definition at line 791 of file battleground_isle_of_conquest.cpp.

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

◆ OnCreatureCreate()

void battleground_isle_of_conquest::OnCreatureCreate ( Creature creature)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 564 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ OnGameObjectCreate()

void battleground_isle_of_conquest::OnGameObjectCreate ( GameObject gameobject)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 590 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ OnGateDestroyed()

void battleground_isle_of_conquest::OnGateDestroyed ( GameObject gate,
WorldObject destroyer 
)
inline

Definition at line 814 of file battleground_isle_of_conquest.cpp.

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

◆ OnInit()

void battleground_isle_of_conquest::OnInit ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 640 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ OnPlayerAssaultNode()

void battleground_isle_of_conquest::OnPlayerAssaultNode ( Player player,
ICNodePoint node 
)
inline

Definition at line 719 of file battleground_isle_of_conquest.cpp.

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

◆ OnPlayerDefendNode()

void battleground_isle_of_conquest::OnPlayerDefendNode ( Player player,
ICNodePoint node 
)
inline

Definition at line 764 of file battleground_isle_of_conquest.cpp.

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

◆ OnPlayerInteractWithBanner()

void battleground_isle_of_conquest::OnPlayerInteractWithBanner ( Player player,
GameObject banner 
)
inline

Definition at line 674 of file battleground_isle_of_conquest.cpp.

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

◆ OnPlayerKilled()

void battleground_isle_of_conquest::OnPlayerKilled ( Player player,
Player killer 
)
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 406 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ OnStart()

void battleground_isle_of_conquest::OnStart ( )
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 338 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ OnUnitKilled()

void battleground_isle_of_conquest::OnUnitKilled ( Creature unit,
Unit killer 
)
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 378 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ OnUpdate()

void battleground_isle_of_conquest::OnUpdate ( uint32  diff)
inlineoverridevirtual

Reimplemented from BattlegroundScript.

Definition at line 313 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ ProcessEvent()

void battleground_isle_of_conquest::ProcessEvent ( WorldObject target,
uint32  eventId,
WorldObject invoker 
)
inlineoverridevirtual

Reimplemented from ZoneScript.

Definition at line 781 of file battleground_isle_of_conquest.cpp.

+ Here is the call graph for this function:

◆ UpdateNodeWorldState()

void battleground_isle_of_conquest::UpdateNodeWorldState ( ICNodePoint const &  node) const
inline

Definition at line 474 of file battleground_isle_of_conquest.cpp.

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

Member Data Documentation

◆ _cannonGUIDs

std::array<GuidVector, PVP_TEAMS_COUNT> battleground_isle_of_conquest::_cannonGUIDs
private

Definition at line 890 of file battleground_isle_of_conquest.cpp.

◆ _factionReinforcements

std::array<uint16, PVP_TEAMS_COUNT> battleground_isle_of_conquest::_factionReinforcements
private

Definition at line 881 of file battleground_isle_of_conquest.cpp.

◆ _gateStatus

std::array<BG_IC_GateState, 6> battleground_isle_of_conquest::_gateStatus
private

Definition at line 882 of file battleground_isle_of_conquest.cpp.

◆ _gunshipGUIDs

std::array<ObjectGuid, PVP_TEAMS_COUNT> battleground_isle_of_conquest::_gunshipGUIDs
private

Definition at line 884 of file battleground_isle_of_conquest.cpp.

◆ _gunshipTeleportTarget

ObjectGuid battleground_isle_of_conquest::_gunshipTeleportTarget
private

Definition at line 893 of file battleground_isle_of_conquest.cpp.

◆ _keepBannerGUIDs

std::array<ObjectGuid, PVP_TEAMS_COUNT> battleground_isle_of_conquest::_keepBannerGUIDs
private

Definition at line 892 of file battleground_isle_of_conquest.cpp.

◆ _keepGateGUIDs

std::array<GuidVector, PVP_TEAMS_COUNT> battleground_isle_of_conquest::_keepGateGUIDs
private

Definition at line 891 of file battleground_isle_of_conquest.cpp.

◆ _mainGateDoorGUIDs

GuidVector battleground_isle_of_conquest::_mainGateDoorGUIDs
private

Definition at line 887 of file battleground_isle_of_conquest.cpp.

◆ _nodePoints

std::array<std::unique_ptr<ICNodePoint>, 7> battleground_isle_of_conquest::_nodePoints
private

Definition at line 883 of file battleground_isle_of_conquest.cpp.

◆ _portcullisGUIDs

GuidVector battleground_isle_of_conquest::_portcullisGUIDs
private

Definition at line 888 of file battleground_isle_of_conquest.cpp.

◆ _resourceTimer

TimeTracker battleground_isle_of_conquest::_resourceTimer
private

Definition at line 896 of file battleground_isle_of_conquest.cpp.

◆ _scheduler

TaskScheduler battleground_isle_of_conquest::_scheduler
private

Definition at line 895 of file battleground_isle_of_conquest.cpp.

◆ _teleporterEffectGUIDs

GuidVector battleground_isle_of_conquest::_teleporterEffectGUIDs
private

Definition at line 886 of file battleground_isle_of_conquest.cpp.

◆ _teleporterGUIDs

GuidVector battleground_isle_of_conquest::_teleporterGUIDs
private

Definition at line 885 of file battleground_isle_of_conquest.cpp.

◆ _wallGUIDs

GuidVector battleground_isle_of_conquest::_wallGUIDs
private

Definition at line 889 of file battleground_isle_of_conquest.cpp.


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