![]() |
TrinityCore
|
Inheritance diagram for battleground_eye_of_the_storm:Public Types | |
| enum | PvpStats { PVP_STAT_FLAG_CAPTURES = 183 } |
Public Member Functions | |
| battleground_eye_of_the_storm (BattlegroundMap *map) | |
| void | OnInit () override |
| void | OnUpdate (uint32 diff) override |
| void | OnStart () override |
| void | AddPoint (Team team, uint32 points) |
| uint8 | GetControlledBaseCount (TeamId teamId) const |
| template<std::invocable< Player * > Action> | |
| void | DoForFlagKeepers (Action const &action) const |
| void | ResetAssaultDebuff () |
| void | ApplyAssaultDebuffToPlayer (Player *player) |
| void | RemoveAssaultDebuffFromPlayer (Player *player) |
| void | UpdateTeamScore (TeamId Team) const |
| void | OnEnd (Team winner) override |
| void | UpdatePointsCount (TeamId teamId) const |
| void | OnGameObjectCreate (GameObject *gameObject) override |
| bool | CanCaptureFlag (AreaTrigger *areaTrigger, Player *player) override |
| void | OnCaptureFlag (AreaTrigger *areaTrigger, Player *player) override |
| void | OnFlagStateChange (GameObject *, FlagState, FlagState newValue, Player *player) override |
| void | EventTeamLostPoint (TeamId teamId, uint32 point, GameObject *controlZone) const |
| void | EventTeamCapturedPoint (TeamId teamId, uint32 point, GameObject *controlZone) const |
| Team | GetPrematureWinner () override |
| void | ProcessEvent (WorldObject *obj, uint32 eventId, WorldObject *invoker) override |
Public Member Functions inherited from BattlegroundScript | |
| BattlegroundScript (BattlegroundMap *map) noexcept | |
| ~BattlegroundScript () override=default | |
| virtual void | OnPrepareStage1 () |
| virtual void | OnPrepareStage2 () |
| virtual void | OnPrepareStage3 () |
| 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) |
| 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 | OnCreatureCreate (Creature *) |
| 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 | DoAction (uint32 actionId, WorldObject *source=nullptr, WorldObject *target=nullptr) |
| virtual void | OnFlagTaken (GameObject *flag, Player *player) |
| virtual void | OnFlagDropped (ObjectGuid const &flagGuid, Player *player) |
Static Public Attributes | |
| static constexpr Seconds | POINTS_TICK_TIME = 2s |
| static constexpr Seconds | BG_EY_FLAG_ASSAULT_TIMER = 30s |
| static constexpr uint16 | BG_EY_FLAG_BRUTAL_ASSAULT_STACK_COUNT = 5 |
| static constexpr uint32 | BG_EY_EVENT_START_BATTLE = 13180 |
| static constexpr std::array< uint8, EY_POINTS_MAX > | BG_EY_TickPoints = { 1, 2, 5, 10 } |
| static constexpr std::array< uint32, EY_POINTS_MAX > | BG_EY_FlagPoints = { 75, 85, 100, 500 } |
Private Attributes | |
| std::array< uint32, PVP_TEAMS_COUNT > | _honorScoreTics |
| TimeTracker | _pointsTimer |
| uint32 | _honorTics |
| std::unordered_map< uint32, std::unique_ptr< BattlegroundEYControlZoneHandler > > | _controlZoneHandlers |
| GuidUnorderedSet | _doorGUIDs |
| ObjectGuid | _flagGUID |
| bool | _assaultEnabled |
| TimeTracker | _flagAssaultTimer |
| uint8 | _assaultStackCount |
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 242 of file battleground_eye_of_the_storm.cpp.
| Enumerator | |
|---|---|
| PVP_STAT_FLAG_CAPTURES | |
Definition at line 244 of file battleground_eye_of_the_storm.cpp.
|
inlineexplicit |
Definition at line 257 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:Definition at line 333 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 389 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 475 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inline |
Definition at line 371 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 603 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 586 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 347 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 620 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 503 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 437 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 538 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 459 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 275 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 318 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 280 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inlineoverridevirtual |
Reimplemented from ZoneScript.
Definition at line 631 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
|
inline |
Definition at line 412 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 378 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 451 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 418 of file battleground_eye_of_the_storm.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 670 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 672 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 665 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 666 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 671 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 667 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 660 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 663 of file battleground_eye_of_the_storm.cpp.
|
private |
Definition at line 662 of file battleground_eye_of_the_storm.cpp.
|
staticconstexpr |
Definition at line 252 of file battleground_eye_of_the_storm.cpp.
|
staticconstexpr |
Definition at line 250 of file battleground_eye_of_the_storm.cpp.
|
staticconstexpr |
Definition at line 251 of file battleground_eye_of_the_storm.cpp.
|
staticconstexpr |
Definition at line 255 of file battleground_eye_of_the_storm.cpp.
|
staticconstexpr |
Definition at line 254 of file battleground_eye_of_the_storm.cpp.
|
staticconstexpr |
Definition at line 249 of file battleground_eye_of_the_storm.cpp.