AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "OutdoorPvPNA.h"
Public Member Functions | |
OutdoorPvPNA () | |
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 | HandleKill (Player *killer, Unit *killed) override |
void | HandleKillImpl (Player *player, Unit *killed) override |
OPvPCapturePointNA * | GetCapturePoint () |
Public Member Functions inherited from OutdoorPvP | |
OutdoorPvP ()=default | |
~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 () const |
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 |
Public Member Functions inherited from ZoneScript | |
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) |
Private Attributes | |
OPvPCapturePointNA * | m_obj |
OutdoorPvPNA::OutdoorPvPNA | ( | ) |
References OutdoorPvP::_typeId, m_obj, and OUTDOOR_PVP_NA.
|
overridevirtual |
Reimplemented from OutdoorPvP.
References OPvPCapturePointNA::FillInitialWorldStates(), and m_obj.
|
inline |
Reimplemented from OutdoorPvP.
References WorldObject::GetAreaId(), Player::GetGroup(), HandleKillImpl(), Player::IsAtGroupRewardDistance(), Object::IsCreature(), Player::IsOutdoorPvPActive(), NA_HALAA_ZONE_ID, GroupReference::next(), and Object::ToPlayer().
Reimplemented from OutdoorPvP.
References Unit::CastSpell(), Player::GetTeamId(), Object::IsPlayer(), Player::KilledMonsterCredit(), NA_CREDIT_MARKER, NA_KILL_TOKEN_ALLIANCE, NA_KILL_TOKEN_HORDE, TEAM_ALLIANCE, and Object::ToPlayer().
Referenced by HandleKill().
Reimplemented from OutdoorPvP.
References Unit::CastSpell(), OPvPCapturePointNA::GetControllingFaction(), Player::GetTeamId(), OutdoorPvP::HandlePlayerEnterZone(), m_obj, and NA_CAPTURE_BUFF.
Reimplemented from OutdoorPvP.
References OutdoorPvP::HandlePlayerLeaveZone(), NA_CAPTURE_BUFF, and Unit::RemoveAurasDueToSpell().
|
overridevirtual |
Reimplemented from OutdoorPvP.
References NA_MAP_HALAA_ALLIANCE, NA_MAP_HALAA_HORDE, NA_MAP_HALAA_NEU_A, NA_MAP_HALAA_NEU_H, NA_MAP_HALAA_NEUTRAL, NA_MAP_WYVERN_EAST_A, NA_MAP_WYVERN_EAST_H, NA_MAP_WYVERN_EAST_NEU_A, NA_MAP_WYVERN_EAST_NEU_H, NA_MAP_WYVERN_NORTH_A, NA_MAP_WYVERN_NORTH_H, NA_MAP_WYVERN_NORTH_NEU_A, NA_MAP_WYVERN_NORTH_NEU_H, NA_MAP_WYVERN_SOUTH_A, NA_MAP_WYVERN_SOUTH_H, NA_MAP_WYVERN_SOUTH_NEU_A, NA_MAP_WYVERN_SOUTH_NEU_H, NA_MAP_WYVERN_WEST_A, NA_MAP_WYVERN_WEST_H, NA_MAP_WYVERN_WEST_NEU_A, NA_MAP_WYVERN_WEST_NEU_H, NA_UI_ALLIANCE_GUARDS_SHOW, NA_UI_GUARDS_LEFT, NA_UI_GUARDS_MAX, NA_UI_HORDE_GUARDS_SHOW, NA_UI_TOWER_SLIDER_DISPLAY, NA_UI_TOWER_SLIDER_N, NA_UI_TOWER_SLIDER_POS, and Player::SendUpdateWorldState().
|
overridevirtual |
Reimplemented from OutdoorPvP.
References OutdoorPvP::AddCapturePoint(), m_obj, NA_BUFF_ZONE, NA_HALAA_GRAVEYARD, NA_HALAA_GRAVEYARD_ZONE, OutdoorPvP::RegisterZone(), OutdoorPvP::SetMapFromZone(), sGraveyard, TEAM_ALLIANCE, and TEAM_HORDE.
|
overridevirtual |
|
private |
Referenced by FillInitialWorldStates(), GetCapturePoint(), HandlePlayerEnterZone(), OutdoorPvPNA(), SetupOutdoorPvP(), and Update().