|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <OutdoorPvPMgr.h>
Public Member Functions | |
| void | AddZone (uint32 zoneid, OutdoorPvP *handle) |
| bool | CanTalkTo (Player *player, Creature *creature, GossipMenuItems const &gso) |
| void | Die () |
| OutdoorPvP * | GetOutdoorPvPToZoneId (uint32 zoneid) |
| ZoneScript * | GetZoneScript (uint32 zoneId) |
| bool | HandleCustomSpell (Player *player, uint32 spellId, GameObject *go) |
| void | HandleDropFlag (Player *player, uint32 spellId) |
| void | HandleGossipOption (Player *player, uint64 guid, uint32 gossipid) |
| bool | HandleOpenGo (Player *player, uint64 guid) |
| void | HandlePlayerEnterZone (Player *player, uint32 areaflag) |
| void | HandlePlayerLeaveZone (Player *player, uint32 areaflag) |
| void | HandlePlayerResurrects (Player *player, uint32 areaflag) |
| void | InitOutdoorPvP () |
| void | Update (uint32 diff) |
Private Types | |
| typedef std::map< OutdoorPvPTypes, OutdoorPvPData * > | OutdoorPvPDataMap |
| typedef std::map< uint32, OutdoorPvP * > | OutdoorPvPMap |
| typedef std::vector< OutdoorPvP * > | OutdoorPvPSet |
Private Member Functions | |
| OutdoorPvPMgr () | |
| ~OutdoorPvPMgr () | |
Private Attributes | |
| OutdoorPvPDataMap | m_OutdoorPvPDatas |
| OutdoorPvPMap | m_OutdoorPvPMap |
| OutdoorPvPSet | m_OutdoorPvPSet |
| uint32 | m_UpdateTimer |
Friends | |
| class | Skyfire::Singleton< OutdoorPvPMgr, Skyfire::NullMutex > |
Definition at line 27 of file OutdoorPvPMgr.h.
|
private |
Definition at line 75 of file OutdoorPvPMgr.h.
|
private |
Definition at line 74 of file OutdoorPvPMgr.h.
|
private |
Definition at line 73 of file OutdoorPvPMgr.h.
|
inlineprivate |
Definition at line 32 of file OutdoorPvPMgr.h.
References m_UpdateTimer, and OutdoorPvPMgr().
Referenced by OutdoorPvPMgr().
|
inlineprivate |
Definition at line 33 of file OutdoorPvPMgr.h.
| void OutdoorPvPMgr::AddZone | ( | uint32 | zoneid, |
| OutdoorPvP * | handle ) |
Definition at line 92 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPMap.
| bool OutdoorPvPMgr::CanTalkTo | ( | Player * | player, |
| Creature * | creature, | ||
| GossipMenuItems const & | gso ) |
Definition at line 184 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPSet.
| void OutdoorPvPMgr::Die | ( | ) |
Definition at line 12 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPDatas, and m_OutdoorPvPSet.
| OutdoorPvP * OutdoorPvPMgr::GetOutdoorPvPToZoneId | ( | uint32 | zoneid | ) |
Definition at line 124 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPMap.
| ZoneScript * OutdoorPvPMgr::GetZoneScript | ( | uint32 | zoneId | ) |
Definition at line 156 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPMap.
| bool OutdoorPvPMgr::HandleCustomSpell | ( | Player * | player, |
| uint32 | spellId, | ||
| GameObject * | go ) |
Definition at line 146 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPSet.
Definition at line 194 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPSet.
Definition at line 175 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPSet.
Definition at line 165 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPSet.
Definition at line 97 of file OutdoorPvPMgr.cpp.
References Object::GetGUIDLow(), m_OutdoorPvPMap, and SF_LOG_DEBUG.
Definition at line 110 of file OutdoorPvPMgr.cpp.
References Object::GetGUIDLow(), m_OutdoorPvPMap, and SF_LOG_DEBUG.
Definition at line 203 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPMap.
| void OutdoorPvPMgr::InitOutdoorPvP | ( | ) |
Definition at line 22 of file OutdoorPvPMgr.cpp.
References DISABLE_TYPE_OUTDOORPVP, getMSTime(), GetMSTimeDiffToNow(), Field::GetUInt8(), DisableMgr::IsDisabledFor(), m_OutdoorPvPDatas, m_OutdoorPvPSet, MAX_OUTDOORPVP_TYPES, OutdoorPvPData::ScriptId, OutdoorPvP::SetupOutdoorPvP(), SF_LOG_ERROR, SF_LOG_INFO, sObjectMgr, sScriptMgr, OutdoorPvPData::TypeId, and WorldDatabase.
| void OutdoorPvPMgr::Update | ( | uint32 | diff | ) |
Definition at line 135 of file OutdoorPvPMgr.cpp.
References m_OutdoorPvPSet, m_UpdateTimer, and OUTDOORPVP_OBJECTIVE_UPDATE_INTERVAL.
|
friend |
Definition at line 23 of file OutdoorPvPMgr.h.
|
private |
Definition at line 86 of file OutdoorPvPMgr.h.
Referenced by Die(), and InitOutdoorPvP().
|
private |
Definition at line 83 of file OutdoorPvPMgr.h.
Referenced by AddZone(), GetOutdoorPvPToZoneId(), GetZoneScript(), HandlePlayerEnterZone(), HandlePlayerLeaveZone(), and HandlePlayerResurrects().
|
private |
Definition at line 79 of file OutdoorPvPMgr.h.
Referenced by CanTalkTo(), Die(), HandleCustomSpell(), HandleDropFlag(), HandleGossipOption(), HandleOpenGo(), InitOutdoorPvP(), and Update().
|
private |
Definition at line 89 of file OutdoorPvPMgr.h.
Referenced by OutdoorPvPMgr(), and Update().