|
| OutdoorPvPTF () |
|
bool | SetupOutdoorPvP () override |
|
void | HandlePlayerEnterZone (Player *player, uint32 zone) override |
|
void | HandlePlayerLeaveZone (Player *player, uint32 zone) override |
|
bool | Update (uint32 diff) override |
|
void | FillInitialWorldStates (WorldPacket &data) override |
|
void | SendRemoveWorldStates (Player *player) override |
|
void | SaveRequiredWorldStates () const |
|
void | ResetZoneToTeamControlled (TeamId team) |
|
void | RecalculateClientUILockTime () |
|
uint32 | GetAllianceTowersControlled () const |
|
void | SetAllianceTowersControlled (uint32 count) |
|
uint32 | GetHordeTowersControlled () const |
|
void | SetHordeTowersControlled (uint32 count) |
|
bool | IsLocked () const |
|
| OutdoorPvP () |
|
| ~OutdoorPvP () override |
|
void | DeleteSpawns () |
|
virtual void | FillInitialWorldStates (WorldPacket &) |
|
virtual bool | HandleAreaTrigger (Player *player, uint32 trigger) |
|
virtual bool | HandleCustomSpell (Player *player, uint32 spellId, GameObject *go) |
|
virtual bool | HandleOpenGo (Player *player, GameObject *go) |
|
virtual bool | SetupOutdoorPvP () |
|
void | OnGameObjectCreate (GameObject *go) override |
|
void | OnGameObjectRemove (GameObject *go) override |
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnCreatureRemove (Creature *creature) override |
|
void | SendUpdateWorldState (uint32 field, uint32 value) |
|
virtual bool | Update (uint32 diff) |
|
virtual void | HandleKill (Player *killer, Unit *killed) |
|
virtual void | HandleKillImpl (Player *, Unit *) |
|
bool | IsInsideObjective (Player *player) const |
|
virtual void | AwardKillBonus (Player *) |
|
uint32 | GetTypeId () |
|
virtual bool | HandleDropFlag (Player *player, uint32 spellId) |
|
virtual bool | HandleGossipOption (Player *player, Creature *creature, uint32 gossipid) |
|
virtual bool | CanTalkTo (Player *player, Creature *c, GossipMenuItems const &gso) |
|
void | TeamApplyBuff (TeamId teamId, uint32 spellId, uint32 spellId2=0, Player *sameMapPlr=nullptr) |
|
Map * | GetMap () const |
|
| ZoneScript () |
|
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 | OnUnitDeath (Unit *) |
|
virtual void | OnCreatureEvade (Creature *) |
|
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 *, uint32) |
|
bool OutdoorPvPTF::SetupOutdoorPvP |
( |
| ) |
|
|
overridevirtual |
Reimplemented from OutdoorPvP.
331{
334
342
343
346
348
354
356 {
357
358
360 if (lockRemainingTime > 0)
361 {
364
368
370 }
371 else
372 {
373
376 }
377 }
378
379 return true;
380}
std::int32_t int32
Definition: Define.h:104
std::uint8_t uint8
Definition: Define.h:110
const uint32 OutdoorPvPTFBuffZones[OutdoorPvPTFBuffZonesNum]
Definition: OutdoorPvPTF.h:25
@ TF_TOWER_SE
Definition: OutdoorPvPTF.h:51
@ TF_TOWER_N
Definition: OutdoorPvPTF.h:49
@ TF_TOWER_NE
Definition: OutdoorPvPTF.h:50
@ TF_TOWER_NW
Definition: OutdoorPvPTF.h:48
@ TF_TOWER_S
Definition: OutdoorPvPTF.h:52
const uint8 OutdoorPvPTFBuffZonesNum
Definition: OutdoorPvPTF.h:23
TeamId
Definition: SharedDefines.h:731
void RegisterZone(uint32 zoneid)
Definition: OutdoorPvP.cpp:591
void SetMapFromZone(uint32 zone)
Definition: OutdoorPvP.cpp:660
void AddCapturePoint(OPvPCapturePoint *cp)
Definition: OutdoorPvP.h:281
void RecalculateClientUILockTime()
Definition: OutdoorPvPTF.h:171
void SaveRequiredWorldStates() const
Definition: OutdoorPvPTF.cpp:109
void ResetZoneToTeamControlled(TeamId team)
Definition: OutdoorPvPTF.cpp:121
References OutdoorPvP::AddCapturePoint(), first_digit, GameTime::GetGameTime(), hours_left, IN_MILLISECONDS, m_AllianceTowersControlled, m_HordeTowersControlled, m_IsLocked, m_JustLocked, m_LockTimer, m_LockTimerUpdate, OutdoorPvPTFBuffZones, OutdoorPvPTFBuffZonesNum, RecalculateClientUILockTime(), OutdoorPvP::RegisterZone(), ResetZoneToTeamControlled(), SaveRequiredWorldStates(), second_digit, OutdoorPvP::SetMapFromZone(), sWorld, TEAM_ALLIANCE, TEAM_HORDE, TF_LOCK_TIME, TF_TOWER_N, TF_TOWER_NE, TF_TOWER_NW, TF_TOWER_S, TF_TOWER_SE, TF_UI_LOCKED_TIME_HOURS, TF_UI_TOWER_COUNT_A, TF_UI_TOWER_COUNT_H, and TF_UI_TOWERS_CONTROLLED_DISPLAY.