![]() |
TrinityCore
|
#include <BattlegroundDS.h>
Inheritance diagram for BattlegroundDS:Private Member Functions | |
| void | PostUpdateImpl (uint32 diff) override |
| Post-update hook. | |
Private Attributes | |
| EventMap | _events |
| uint32 | _pipeKnockBackTimer |
| uint8 | _pipeKnockBackCount |
Definition at line 92 of file BattlegroundDS.h.
| BattlegroundDS::BattlegroundDS | ( | ) |
Definition at line 26 of file BattlegroundDS.cpp.
References _pipeKnockBackCount, _pipeKnockBackTimer, BG_DS_NPC_MAX, BG_DS_OBJECT_MAX, Battleground::BgCreatures, and Battleground::BgObjects.
|
overridevirtual |
Reimplemented from Arena.
Definition at line 149 of file BattlegroundDS.cpp.
References Arena::FillInitialWorldStates(), and WorldPackets::WorldState::InitWorldStates::Worldstates.
Reimplemented from Battleground.
Definition at line 126 of file BattlegroundDS.cpp.
References _pipeKnockBackCount, BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT, Battleground::GetStatus(), Battleground::HandleAreaTrigger(), Unit::RemoveAurasDueToSpell(), SPELL_WARL_DEMONIC_CIRCLE, and STATUS_IN_PROGRESS.
|
overrideprivatevirtual |
Post-update hook.
Will be called after battleground update has passed. May be used to implement custom update effects in subclasses.
| diff | a time difference between two worldserver update loops in milliseconds. |
Reimplemented from Battleground.
Definition at line 35 of file BattlegroundDS.cpp.
References _events, _pipeKnockBackCount, _pipeKnockBackTimer, BG_DS_EVENT_PIPE_KNOCKBACK, BG_DS_EVENT_WATERFALL_KNOCKBACK, BG_DS_EVENT_WATERFALL_OFF, BG_DS_EVENT_WATERFALL_ON, BG_DS_EVENT_WATERFALL_WARNING, BG_DS_NPC_PIPE_KNOCKBACK_1, BG_DS_NPC_PIPE_KNOCKBACK_2, BG_DS_NPC_WATERFALL_KNOCKBACK, BG_DS_OBJECT_WATER_1, BG_DS_OBJECT_WATER_2, BG_DS_PIPE_KNOCKBACK_DELAY, BG_DS_PIPE_KNOCKBACK_TOTAL_COUNT, BG_DS_SPELL_FLUSH, BG_DS_SPELL_WATER_SPOUT, BG_DS_WATERFALL_DURATION, BG_DS_WATERFALL_KNOCKBACK_TIMER, BG_DS_WATERFALL_TIMER_MAX, BG_DS_WATERFALL_TIMER_MIN, BG_DS_WATERFALL_WARNING_DURATION, EventMap::CancelEvent(), Battleground::DoorClose(), Battleground::DoorOpen(), EventMap::ExecuteEvent(), Battleground::GetBGCreature(), Battleground::GetStatus(), EventMap::ScheduleEvent(), STATUS_IN_PROGRESS, and EventMap::Update().
|
overridevirtual |
Reimplemented from Battleground.
Definition at line 156 of file BattlegroundDS.cpp.
References Battleground::AddCreature(), Battleground::AddObject(), BG_DS_NPC_PIPE_KNOCKBACK_1, BG_DS_NPC_PIPE_KNOCKBACK_2, BG_DS_NPC_TYPE_WATER_SPOUT, BG_DS_NPC_WATERFALL_KNOCKBACK, BG_DS_OBJECT_BUFF_1, BG_DS_OBJECT_BUFF_2, BG_DS_OBJECT_DOOR_1, BG_DS_OBJECT_DOOR_2, BG_DS_OBJECT_TYPE_BUFF_1, BG_DS_OBJECT_TYPE_BUFF_2, 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_WATER_1, BG_DS_OBJECT_WATER_2, RESPAWN_IMMEDIATELY, TC_LOG_ERROR, and TEAM_NEUTRAL.
|
overridevirtual |
Reimplemented from Battleground.
Definition at line 94 of file BattlegroundDS.cpp.
References BG_DS_OBJECT_DOOR_1, BG_DS_OBJECT_DOOR_2, RESPAWN_IMMEDIATELY, and Battleground::SpawnBGObject().
|
overridevirtual |
Reimplemented from Battleground.
Definition at line 100 of file BattlegroundDS.cpp.
References _events, Battleground::_GetPlayer(), _pipeKnockBackCount, _pipeKnockBackTimer, BG_DS_EVENT_WATERFALL_WARNING, BG_DS_OBJECT_BUFF_1, BG_DS_OBJECT_BUFF_2, BG_DS_OBJECT_DOOR_1, BG_DS_OBJECT_DOOR_2, BG_DS_OBJECT_WATER_1, BG_DS_OBJECT_WATER_2, BG_DS_PIPE_KNOCKBACK_FIRST_DELAY, BG_DS_WATERFALL_TIMER_MAX, BG_DS_WATERFALL_TIMER_MIN, Battleground::DoorOpen(), Battleground::GetPlayers(), RESPAWN_IMMEDIATELY, EventMap::ScheduleEvent(), Battleground::SpawnBGObject(), and SPELL_WARL_DEMONIC_CIRCLE.
|
private |
Definition at line 108 of file BattlegroundDS.h.
Referenced by PostUpdateImpl(), and StartingEventOpenDoors().
|
private |
Definition at line 111 of file BattlegroundDS.h.
Referenced by BattlegroundDS(), HandleAreaTrigger(), PostUpdateImpl(), and StartingEventOpenDoors().
|
private |
Definition at line 110 of file BattlegroundDS.h.
Referenced by BattlegroundDS(), PostUpdateImpl(), and StartingEventOpenDoors().