|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <OutdoorPvPZM.h>
Public Member Functions | |
| bool | CanTalkTo (Player *player, Creature *creature, GossipMenuItems const &gso) OVERRIDE |
| void | ChangeState () OVERRIDE |
| void | FillInitialWorldStates (WorldStateBuilder &builder) OVERRIDE |
| uint32 | GetGraveYardState () const |
| bool | HandleDropFlag (Player *player, uint32 spellId) OVERRIDE |
| bool | HandleGossipOption (Player *player, uint64 guid, uint32 gossipid) OVERRIDE |
| int32 | HandleOpenGo (Player *player, uint64 guid) OVERRIDE |
| OPvPCapturePointZM_GraveYard (OutdoorPvP *pvp) | |
| void | SetBeaconState (uint32 controlling_team) |
| bool | Update (uint32 diff) 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 void | ChangeTeam (TeamId) |
| virtual void | DeleteSpawns () |
| virtual bool | HandleCustomSpell (Player *player, uint32 spellId, GameObject *go) |
| virtual bool | HandlePlayerEnter (Player *player) |
| virtual void | HandlePlayerLeave (Player *player) |
| bool | IsInsideObjective (Player *player) const |
| OPvPCapturePoint (OutdoorPvP *pvp) | |
| virtual void | SendChangePhase () |
| 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 | ~OPvPCapturePoint () |
Protected Attributes | |
| uint32 | m_BothControllingFaction |
| uint64 | m_FlagCarrierGUID |
| 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 |
Private Attributes | |
| uint32 | m_GraveYardState |
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 183 of file OutdoorPvPZM.h.
| OPvPCapturePointZM_GraveYard::OPvPCapturePointZM_GraveYard | ( | OutdoorPvP * | pvp | ) |
Definition at line 240 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::AddCreature(), OPvPCapturePoint::AddObject(), m_BothControllingFaction, m_FlagCarrierGUID, m_GraveYardState, OPvPCapturePoint::OPvPCapturePoint(), ZM_ALLIANCE_FIELD_SCOUT, ZM_AllianceFieldScout, ZM_Banner_N, ZM_GRAVEYARD_N, ZM_HORDE_FIELD_SCOUT, and ZM_HordeFieldScout.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 322 of file OutdoorPvPZM.cpp.
References ALLIANCE, Object::GetGUID(), Player::GetTeam(), HORDE, m_BothControllingFaction, OPvPCapturePoint::m_CreatureTypes, m_FlagCarrierGUID, m_GraveYardState, ZM_ALLIANCE_FIELD_SCOUT, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, and ZM_HORDE_FIELD_SCOUT.
|
inlinevirtual |
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 265 of file OutdoorPvPZM.cpp.
References ALLIANCE, WorldStateBuilder::AppendState(), HORDE, m_BothControllingFaction, m_GraveYardState, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, ZM_GRAVEYARD_N, ZM_MAP_ALLIANCE_FLAG_NOT_READY, ZM_MAP_ALLIANCE_FLAG_READY, ZM_MAP_GRAVEYARD_A, ZM_MAP_GRAVEYARD_H, ZM_MAP_GRAVEYARD_N, ZM_MAP_HORDE_FLAG_NOT_READY, and ZM_MAP_HORDE_FLAG_READY.
| uint32 OPvPCapturePointZM_GraveYard::GetGraveYardState | ( | ) | const |
Definition at line 378 of file OutdoorPvPZM.cpp.
References m_GraveYardState.
Reimplemented from OPvPCapturePoint.
Definition at line 364 of file OutdoorPvPZM.cpp.
References m_FlagCarrierGUID, ZM_BATTLE_STANDARD_A, and ZM_BATTLE_STANDARD_H.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 336 of file OutdoorPvPZM.cpp.
References Unit::CastSpell(), HashMapHolder< T >::Find(), Object::GetGUID(), OPvPCapturePoint::m_CreatureTypes, m_FlagCarrierGUID, Player::PlayerTalkClass, PlayerMenu::SendCloseGossip(), UpdateTowerState(), ZM_ALLIANCE_FIELD_SCOUT, ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, and ZM_HORDE_FIELD_SCOUT.
Reimplemented from OPvPCapturePoint.
Definition at line 204 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::AddObject(), ALLIANCE, OPvPCapturePoint::DelObject(), OPvPCapturePoint::HandleOpenGo(), Unit::HasAura(), HORDE, LANG_OPVP_ZM_CAPTURE_GY_A, LANG_OPVP_ZM_CAPTURE_GY_H, LANG_OPVP_ZM_LOSE_GY_A, LANG_OPVP_ZM_LOSE_GY_H, m_GraveYardState, OPvPCapturePoint::m_PvP, Unit::RemoveAurasDueToSpell(), sObjectMgr, sWorld, TEAM_ALLIANCE, TEAM_HORDE, UpdateTowerState(), ZM_Banner_A, ZM_Banner_H, ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, ZM_CAPTURE_BUFF, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, ZM_GRAVEYARD_ID, and ZM_GRAVEYARD_ZONE.
| void OPvPCapturePointZM_GraveYard::SetBeaconState | ( | uint32 | controlling_team | ) |
Definition at line 277 of file OutdoorPvPZM.cpp.
References ALLIANCE, ObjectAccessor::FindPlayer(), HORDE, m_BothControllingFaction, m_FlagCarrierGUID, m_GraveYardState, Unit::RemoveAurasDueToSpell(), UpdateTowerState(), ZM_BATTLE_STANDARD_A, ZM_BATTLE_STANDARD_H, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, and ZM_GRAVEYARD_N.
|
virtual |
Reimplemented from OPvPCapturePoint.
Definition at line 197 of file OutdoorPvPZM.cpp.
References OPvPCapturePoint::m_OldState, and OPvPCapturePoint::m_State.
| void OPvPCapturePointZM_GraveYard::UpdateTowerState | ( | ) |
Definition at line 253 of file OutdoorPvPZM.cpp.
References ALLIANCE, HORDE, m_BothControllingFaction, m_GraveYardState, OPvPCapturePoint::m_PvP, ZM_GRAVEYARD_A, ZM_GRAVEYARD_H, ZM_GRAVEYARD_N, ZM_MAP_ALLIANCE_FLAG_NOT_READY, ZM_MAP_ALLIANCE_FLAG_READY, ZM_MAP_GRAVEYARD_A, ZM_MAP_GRAVEYARD_H, ZM_MAP_GRAVEYARD_N, ZM_MAP_HORDE_FLAG_NOT_READY, and ZM_MAP_HORDE_FLAG_READY.
Referenced by HandleGossipOption(), HandleOpenGo(), and SetBeaconState().
|
protected |
Definition at line 203 of file OutdoorPvPZM.h.
Referenced by CanTalkTo(), FillInitialWorldStates(), OPvPCapturePointZM_GraveYard(), SetBeaconState(), and UpdateTowerState().
|
protected |
Definition at line 204 of file OutdoorPvPZM.h.
Referenced by CanTalkTo(), HandleDropFlag(), HandleGossipOption(), OPvPCapturePointZM_GraveYard(), and SetBeaconState().
|
private |
Definition at line 200 of file OutdoorPvPZM.h.
Referenced by CanTalkTo(), FillInitialWorldStates(), GetGraveYardState(), HandleOpenGo(), OPvPCapturePointZM_GraveYard(), SetBeaconState(), and UpdateTowerState().