![]() |
TrinityCore
|
#include <BattlegroundScript.h>
Inheritance diagram for BattlegroundScript:Public Member Functions | |
| BattlegroundScript (BattlegroundMap *map) noexcept | |
| ~BattlegroundScript () override=default | |
| virtual void | OnInit () |
| virtual void | OnUpdate (uint32 diff) |
| virtual void | OnPrepareStage1 () |
| virtual void | OnPrepareStage2 () |
| virtual void | OnPrepareStage3 () |
| virtual void | OnStart () |
| 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 | OnCreatureCreate (Creature *) |
| virtual void | OnCreatureRemove (Creature *) |
| virtual void | OnGameObjectCreate (GameObject *) |
| 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 | DoAction (uint32 actionId, WorldObject *source=nullptr, WorldObject *target=nullptr) |
| 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) |
Protected Member Functions | |
| void | UpdateWorldState (int32 worldStateId, int32 value, bool hidden=false) const |
Protected Attributes | |
| BattlegroundMap * | battlegroundMap |
| Battleground * | battleground |
Definition at line 32 of file BattlegroundScript.h.
|
explicitnoexcept |
Definition at line 30 of file BattlegroundScript.cpp.
|
overridedefault |
|
virtual |
Reimplemented in battleground_alterac_valley, battleground_arathi_basin, battleground_eye_of_the_storm, battleground_twin_peaks, and battleground_warsong_gulch.
Definition at line 45 of file BattlegroundScript.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_alterac_valley, battleground_arathi_basin, battleground_eye_of_the_storm, battleground_strand_of_the_ancients, and battleground_warsong_gulch.
Definition at line 44 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_arathi_basin, arena_blades_edge, battleground_deephaul_ravine, battleground_eye_of_the_storm, battleground_isle_of_conquest, arena_nagrand, arena_ring_of_valor, battleground_silvershard_mines, battleground_strand_of_the_ancients, and battleground_temple_of_kotmogu.
Definition at line 38 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_strand_of_the_ancients, arena_blades_edge_legion, arena_cage_of_carnage, arena_empyrean_domain, arena_enigma_crucible, arena_hook_point, arena_mugambala, and arena_nokhudon_proving_grounds.
Definition at line 45 of file BattlegroundScript.h.
Here is the caller graph for this function:Reimplemented in battleground_isle_of_conquest, and battleground_alterac_valley.
Definition at line 47 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_alterac_valley.
Definition at line 46 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in arena_hook_point.
Definition at line 40 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in arena_cage_of_carnage, arena_enigma_crucible, arena_mugambala, arena_nokhudon_proving_grounds, battleground_seething_shore, and battleground_silvershard_mines.
Definition at line 41 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_deephaul_ravine, battleground_seething_shore, and battleground_temple_of_kotmogu.
Definition at line 42 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_alterac_valley, battleground_arathi_basin, arena_ashamanes_fall, battleground_battle_for_gilneas, arena_black_rook_hold_arena, arena_blades_edge, arena_blades_edge_legion, arena_cage_of_carnage, arena_dalaran_sewers, battleground_deephaul_ravine, arena_empyrean_domain, arena_enigma_crucible, battleground_eye_of_the_storm, arena_hook_point, battleground_isle_of_conquest, arena_maldraxxus_coliseum, arena_mugambala, arena_nagrand, arena_nagrand_arena_legion, arena_nokhudon_proving_grounds, arena_ring_of_valor, arena_ruins_of_lordaeron, battleground_seething_shore, battleground_silvershard_mines, battleground_temple_of_kotmogu, arena_the_robodrome, arena_tigers_peak, arena_tol_viron_arena, battleground_twin_peaks, and battleground_warsong_gulch.
Definition at line 43 of file BattlegroundScript.h.
Here is the caller graph for this function:Reimplemented in battleground_isle_of_conquest, battleground_alterac_valley, and battleground_strand_of_the_ancients.
Definition at line 48 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in battleground_alterac_valley, battleground_arathi_basin, battleground_battle_for_gilneas, arena_blades_edge, arena_blades_edge_legion, arena_cage_of_carnage, arena_dalaran_sewers, battleground_deephaul_ravine, arena_empyrean_domain, arena_enigma_crucible, battleground_eye_of_the_storm, arena_hook_point, battleground_isle_of_conquest, arena_nagrand, arena_ring_of_valor, battleground_seething_shore, battleground_silvershard_mines, battleground_strand_of_the_ancients, battleground_temple_of_kotmogu, arena_the_robodrome, battleground_twin_peaks, and battleground_warsong_gulch.
Definition at line 39 of file BattlegroundScript.h.
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from ZoneScript.
Definition at line 56 of file BattlegroundScript.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 65 of file BattlegroundScript.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 57 of file BattlegroundScript.h.
|
protected |
Definition at line 56 of file BattlegroundScript.h.