Public Types | |
enum | GameObjects { BG_DS_OBJECT_TYPE_DOOR_1 = 192642 , BG_DS_OBJECT_TYPE_DOOR_2 = 192643 , BG_DS_OBJECT_TYPE_WATER_1 = 194395 , BG_DS_OBJECT_TYPE_WATER_2 = 191877 , BG_DS_OBJECT_TYPE_BUFF_1 = 184663 , BG_DS_OBJECT_TYPE_BUFF_2 = 184664 } |
enum | Events { BG_DS_EVENT_WATERFALL_WARNING = 1 , BG_DS_EVENT_WATERFALL_ON = 2 , BG_DS_EVENT_WATERFALL_OFF = 3 , BG_DS_EVENT_WATERFALL_KNOCKBACK = 4 , BG_DS_EVENT_PIPE_KNOCKBACK = 5 } |
enum | Creatures { BG_DS_NPC_TYPE_WATER_SPOUT = 28567 } |
enum | Spells { BG_DS_SPELL_FLUSH = 57405 , BG_DS_SPELL_FLUSH_KNOCKBACK = 61698 , BG_DS_SPELL_WATER_SPOUT = 58873 , SPELL_WARL_DEMONIC_CIRCLE = 48018 } |
enum | Data { BG_DS_PIPE_KNOCKBACK_FIRST_DELAY = 5000 , BG_DS_PIPE_KNOCKBACK_DELAY = 3000 } |
Public Member Functions | |
arena_dalaran_sewers (BattlegroundMap *map) | |
void | OnUpdate (uint32 diff) override |
void | OnInit () override |
void | OnStart () override |
void | AddObject (uint32 entry, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3, GOState goState, GuidVector guidVector) const |
void | SetData (uint32 dataId, uint32 value) override |
uint32 | GetData (uint32 dataId) const override |
![]() | |
ArenaScript (BattlegroundMap *map) | |
~ArenaScript () override=default | |
![]() | |
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 |
![]() | |
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 | TriggerGameEvent (uint32 gameEventId, WorldObject *source=nullptr, WorldObject *target=nullptr) |
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) |
Static Public Attributes | |
static constexpr Seconds | BG_DS_WATERFALL_TIMER_MIN = 30s |
static constexpr Seconds | BG_DS_WATERFALL_TIMER_MAX = 60s |
static constexpr Seconds | BG_DS_WATERFALL_WARNING_DURATION = 5s |
static constexpr Seconds | BG_DS_WATERFALL_DURATION = 30s |
static constexpr Milliseconds | BG_DS_WATERFALL_KNOCKBACK_TIMER = 1500ms |
static constexpr uint32 | BG_DS_DATA_PIPE_KNOCKBACK_COUNT = 1 |
static constexpr uint32 | BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT = 2 |
Additional Inherited Members | |
![]() | |
GameObject * | CreateObject (uint32 entry, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3, GOState goState=GO_STATE_READY) const |
Creature * | CreateCreature (uint32 entry, float x, float y, float z, float o) const |
![]() | |
void | UpdateWorldState (int32 worldStateId, int32 value, bool hidden=false) const |
![]() | |
BattlegroundMap * | battlegroundMap |
Battleground * | battleground |
Definition at line 30 of file arena_dalaran_sewers.cpp.
Enumerator | |
---|---|
BG_DS_NPC_TYPE_WATER_SPOUT |
Definition at line 52 of file arena_dalaran_sewers.cpp.
Enumerator | |
---|---|
BG_DS_PIPE_KNOCKBACK_FIRST_DELAY | |
BG_DS_PIPE_KNOCKBACK_DELAY |
Definition at line 66 of file arena_dalaran_sewers.cpp.
Enumerator | |
---|---|
BG_DS_EVENT_WATERFALL_WARNING | |
BG_DS_EVENT_WATERFALL_ON | |
BG_DS_EVENT_WATERFALL_OFF | |
BG_DS_EVENT_WATERFALL_KNOCKBACK | |
BG_DS_EVENT_PIPE_KNOCKBACK |
Definition at line 42 of file arena_dalaran_sewers.cpp.
Enumerator | |
---|---|
BG_DS_OBJECT_TYPE_DOOR_1 | |
BG_DS_OBJECT_TYPE_DOOR_2 | |
BG_DS_OBJECT_TYPE_WATER_1 | |
BG_DS_OBJECT_TYPE_WATER_2 | |
BG_DS_OBJECT_TYPE_BUFF_1 | |
BG_DS_OBJECT_TYPE_BUFF_2 |
Definition at line 32 of file arena_dalaran_sewers.cpp.
Enumerator | |
---|---|
BG_DS_SPELL_FLUSH | |
BG_DS_SPELL_FLUSH_KNOCKBACK | |
BG_DS_SPELL_WATER_SPOUT | |
SPELL_WARL_DEMONIC_CIRCLE |
Definition at line 57 of file arena_dalaran_sewers.cpp.
|
inlineexplicit |
Definition at line 82 of file arena_dalaran_sewers.cpp.
|
inline |
Definition at line 193 of file arena_dalaran_sewers.cpp.
Reimplemented from ZoneScript.
Definition at line 206 of file arena_dalaran_sewers.cpp.
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 151 of file arena_dalaran_sewers.cpp.
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 163 of file arena_dalaran_sewers.cpp.
|
inlineoverridevirtual |
Reimplemented from BattlegroundScript.
Definition at line 84 of file arena_dalaran_sewers.cpp.
Reimplemented from ZoneScript.
Definition at line 199 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 215 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 221 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 219 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 224 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 223 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 220 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 216 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 217 of file arena_dalaran_sewers.cpp.
|
private |
Definition at line 218 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 79 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 80 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 77 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 78 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 75 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 74 of file arena_dalaran_sewers.cpp.
|
staticconstexpr |
Definition at line 76 of file arena_dalaran_sewers.cpp.