|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <OutdoorPvPZM.h>
Public Member Functions | |
| void | ChangeState () OVERRIDE |
| void | FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE |
| bool | HandlePlayerEnter (Player *player) OVERRIDE |
| void | HandlePlayerLeave (Player *player) OVERRIDE |
| OPvPCapturePointZM_Beacon (OutdoorPvP *pvp, ZM_BeaconType type) | |
| void | SendChangePhase () OVERRIDE |
| void | UpdateTowerState () |
| Public Member Functions inherited from OPvPCapturePoint | |
| void | AddCre (uint32 type, uint32 guid, uint32 entry=0) |
| void | AddGO (uint32 type, uint32 guid, uint32 entry=0) |
| virtual bool | CanTalkTo (Player *player, Creature *c, GossipMenuItems const &gso) |
| virtual void | ChangeTeam (TeamId) |
| virtual void | DeleteSpawns () |
| virtual bool | HandleCustomSpell (Player *player, uint32 spellId, GameObject *go) |
| virtual bool | HandleDropFlag (Player *player, uint32 spellId) |
| virtual bool | HandleGossipOption (Player *player, uint64 guid, uint32 gossipid) |
| virtual int32 | HandleOpenGo (Player *player, uint64 guid) |
| bool | IsInsideObjective (Player *player) const |
| OPvPCapturePoint (OutdoorPvP *pvp) | |
| void | SendObjectiveComplete (uint32 id, uint64 guid) |
| void | SendUpdateWorldState (uint32 field, uint32 value) |
| bool | SetCapturePointData (uint32 entry, uint32 map, float x, float y, float z, float o=0, float rotation0=0, float rotation1=0, float rotation2=0, float rotation3=0) |
| virtual bool | Update (uint32 diff) |
| virtual | ~OPvPCapturePoint () |
Protected Attributes | |
| uint32 | m_TowerState |
| ZM_BeaconType | m_TowerType |
| Protected Attributes inherited from OPvPCapturePoint | |
| PlayerSet | m_activePlayers [2] |
| std::map< uint32, uint64 > | m_Creatures |
| std::map< uint64, uint32 > | m_CreatureTypes |
| float | m_maxSpeed |
| float | m_maxValue |
| float | m_minValue |
| uint32 | m_neutralValuePct |
| std::map< uint32, uint64 > | m_Objects |
| std::map< uint64, uint32 > | m_ObjectTypes |
| ObjectiveStates | m_OldState |
| OutdoorPvP * | m_PvP |
| ObjectiveStates | m_State |
| TeamId | m_team |
| float | m_value |
Additional Inherited Members | |
| Public Attributes inherited from OPvPCapturePoint | |
| GameObject * | m_capturePoint |
| uint32 | m_capturePointGUID |
| Protected Member Functions inherited from OPvPCapturePoint | |
| bool | AddCreature (uint32 type, uint32 entry, uint32 teamval, uint32 map, float x, float y, float z, float o, uint32 spawntimedelay=0) |
| bool | AddObject (uint32 type, uint32 entry, uint32 map, float x, float y, float z, float o, float rotation0, float rotation1, float rotation2, float rotation3) |
| bool | DelCapturePoint () |
| bool | DelCreature (uint32 type) |
| bool | DelObject (uint32 type) |
Definition at line 157 of file OutdoorPvPZM.h.
| OPvPCapturePointZM_Beacon::OPvPCapturePointZM_Beacon | ( | OutdoorPvP * | pvp, |
| ZM_BeaconType | type ) |
Definition at line 17 of file OutdoorPvPZM.cpp.
References m_TowerState, m_TowerType, OPvPCapturePoint::OPvPCapturePoint(), OPvPCapturePoint::SetCapturePointData(), ZM_TOWERSTATE_N, and ZMCapturePoints.
|
virtual |
Implements OPvPCapturePoint.
Definition at line 62 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_OldState, OPvPCapturePoint::m_PvP, OPvPCapturePoint::m_State, m_TowerState, m_TowerType, OBJECTIVESTATE_ALLIANCE, OBJECTIVESTATE_ALLIANCE_HORDE_CHALLENGE, OBJECTIVESTATE_HORDE, OBJECTIVESTATE_HORDE_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL, OBJECTIVESTATE_NEUTRAL_ALLIANCE_CHALLENGE, OBJECTIVESTATE_NEUTRAL_HORDE_CHALLENGE, sObjectMgr, sWorld, UpdateTowerState(), ZM_GRAVEYARD_ZONE, ZM_NUM_BEACONS, ZM_TOWERSTATE_A, ZM_TOWERSTATE_H, ZM_TOWERSTATE_N, ZMBeaconCaptureA, ZMBeaconCaptureH, ZMBeaconLoseA, and ZMBeaconLoseH.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 23 of file OutdoorPvPZM.cpp.
References WorldStateBuilder::AppendState(), m_TowerState, m_TowerType, ZM_TOWERSTATE_A, ZM_TOWERSTATE_H, ZM_TOWERSTATE_N, and ZMBeaconInfo.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 43 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::HandlePlayerEnter(), OPvPCapturePoint::m_maxValue, OPvPCapturePoint::m_neutralValuePct, m_TowerType, OPvPCapturePoint::m_value, Player::SendUpdateWorldState(), and ZMBeaconInfo.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 56 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::HandlePlayerLeave(), m_TowerType, Player::SendUpdateWorldState(), and ZMBeaconInfo.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 111 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_maxValue, OPvPCapturePoint::m_neutralValuePct, m_TowerType, OPvPCapturePoint::m_value, OPvPCapturePoint::SendUpdateWorldState(), and ZMBeaconInfo.
| void OPvPCapturePointZM_Beacon::UpdateTowerState | ( | ) |
Definition at line 33 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_PvP, m_TowerState, m_TowerType, ZM_TOWERSTATE_A, ZM_TOWERSTATE_H, ZM_TOWERSTATE_N, and ZMBeaconInfo.
Referenced by ChangeState().
|
protected |
Definition at line 173 of file OutdoorPvPZM.h.
Referenced by ChangeState(), FillInitialWorldStates(), OPvPCapturePointZM_Beacon(), and UpdateTowerState().
|
protected |
Definition at line 172 of file OutdoorPvPZM.h.
Referenced by ChangeState(), FillInitialWorldStates(), HandlePlayerEnter(), HandlePlayerLeave(), OPvPCapturePointZM_Beacon(), SendChangePhase(), and UpdateTowerState().