![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "BattlefieldWG.h"
Public Member Functions | |
| WintergraspCapturePoint (BattlefieldWG *battlefield, TeamId teamInControl) | |
| void | LinkToWorkshop (WGWorkshop *workshop) |
| void | ChangeTeam (TeamId oldteam) override |
| TeamId | GetTeam () const |
Public Member Functions inherited from BfCapturePoint | |
| BfCapturePoint (Battlefield *bf) | |
| virtual | ~BfCapturePoint () |
| virtual void | FillInitialWorldStates (WorldPackets::WorldState::InitWorldStates &) |
| void | SendUpdateWorldState (uint32 field, uint32 value) |
| void | SendObjectiveComplete (uint32 id, ObjectGuid guid) |
| virtual bool | HandlePlayerEnter (Player *player) |
| virtual GuidUnorderedSet::iterator | HandlePlayerLeave (Player *player) |
| bool | IsInsideObjective (Player *player) const |
| virtual bool | Update (uint32 diff) |
| virtual void | SendChangePhase () |
| bool | SetCapturePointData (GameObject *capturePoint, TeamId team) |
| GameObject * | GetCapturePointGo () |
| GameObject * | GetCapturePointGo (WorldObject *obj) |
| TeamId | GetTeamId () |
Protected Attributes | |
| WGWorkshop * | m_Workshop |
Protected Attributes inherited from BfCapturePoint | |
| GuidUnorderedSet | m_activePlayers [2] |
| float | m_maxValue |
| float | m_minValue |
| float | m_maxSpeed |
| float | m_value |
| TeamId | m_team |
| BattlefieldObjectiveStates | m_OldState |
| BattlefieldObjectiveStates | m_State |
| uint32 | m_neutralValuePct |
| Battlefield * | m_Bf |
| uint32 | m_capturePointEntry |
| ObjectGuid | m_capturePoint |
Additional Inherited Members | |
Protected Member Functions inherited from BfCapturePoint | |
| bool | DelCapturePoint () |
| WintergraspCapturePoint::WintergraspCapturePoint | ( | BattlefieldWG * | battlefield, |
| TeamId | teamInControl | ||
| ) |
References BfCapturePoint::m_Bf, BfCapturePoint::m_team, and m_Workshop.
|
overridevirtual |
Reimplemented from BfCapturePoint.
References ASSERT, WGWorkshop::GiveControlTo(), BfCapturePoint::m_team, and m_Workshop.
|
inline |
References BfCapturePoint::m_team.
|
inline |
References m_Workshop.
Referenced by BattlefieldWG::OnGameObjectCreate().
|
protected |
Referenced by ChangeTeam(), LinkToWorkshop(), and WintergraspCapturePoint().