#include <MapManager.h>
|
| Map * | CreateBaseMap (uint32 mapId) |
| |
| Map * | FindBaseNonInstanceMap (uint32 mapId) const |
| |
| Map * | CreateMap (uint32 mapId, Player *player, uint32 loginInstanceId=0) |
| |
| Map * | FindMap (uint32 mapId, uint32 instanceId) const |
| |
| uint32 | GetAreaId (uint32 phaseMask, uint32 mapid, float x, float y, float z) const |
| |
| uint32 | GetAreaId (uint32 phaseMask, uint32 mapid, Position const &pos) const |
| |
| uint32 | GetAreaId (uint32 phaseMask, WorldLocation const &loc) const |
| |
| uint32 | GetZoneId (uint32 phaseMask, uint32 mapid, float x, float y, float z) const |
| |
| uint32 | GetZoneId (uint32 phaseMask, uint32 mapid, Position const &pos) const |
| |
| uint32 | GetZoneId (uint32 phaseMask, WorldLocation const &loc) const |
| |
| void | GetZoneAndAreaId (uint32 phaseMask, uint32 &zoneid, uint32 &areaid, uint32 mapid, float x, float y, float z) const |
| |
| void | GetZoneAndAreaId (uint32 phaseMask, uint32 &zoneid, uint32 &areaid, uint32 mapid, Position const &pos) const |
| |
| void | GetZoneAndAreaId (uint32 phaseMask, uint32 &zoneid, uint32 &areaid, WorldLocation const &loc) const |
| |
| void | Initialize (void) |
| |
| void | Update (uint32) |
| |
| void | SetGridCleanUpDelay (uint32 t) |
| |
| void | SetMapUpdateInterval (uint32 t) |
| |
| void | UnloadAll () |
| |
| void | DoDelayedMovesAndRemoves () |
| |
| Map::EnterState | PlayerCannotEnter (uint32 mapid, Player *player, bool loginCheck=false) |
| |
| void | InitializeVisibilityDistanceInfo () |
| |
| uint32 | GetNumInstances () |
| |
| uint32 | GetNumPlayersInInstances () |
| |
| void | InitInstanceIds () |
| |
| uint32 | GenerateInstanceId () |
| |
| void | RegisterInstanceId (uint32 instanceId) |
| |
| void | FreeInstanceId (uint32 instanceId) |
| |
| MapUpdater * | GetMapUpdater () |
| |
| template<typename Worker > |
| void | DoForAllMaps (Worker &&worker) |
| |
| template<typename Worker > |
| void | DoForAllMapsWithMapId (uint32 mapId, Worker &&worker) |
| |
| void | IncreaseScheduledScriptsCount () |
| |
| void | DecreaseScheduledScriptCount () |
| |
| void | DecreaseScheduledScriptCount (std::size_t count) |
| |
| bool | IsScriptScheduled () const |
| |
|
| static MapManager * | instance () |
| |
| static bool | ExistMapAndVMap (uint32 mapid, float x, float y) |
| |
| static bool | IsValidMAP (uint32 mapid, bool startUp) |
| |
| static bool | IsValidMapCoord (uint32 mapid, float x, float y) |
| |
| static bool | IsValidMapCoord (uint32 mapid, float x, float y, float z) |
| |
| static bool | IsValidMapCoord (uint32 mapid, float x, float y, float z, float o) |
| |
| static bool | IsValidMapCoord (uint32 mapid, Position const &pos) |
| |
| static bool | IsValidMapCoord (WorldLocation const &loc) |
| |
Definition at line 32 of file MapManager.h.
◆ InstanceIds
◆ MapMapType
◆ MapManager() [1/2]
| MapManager::MapManager |
( |
| ) |
|
|
private |
◆ ~MapManager()
| MapManager::~MapManager |
( |
| ) |
|
|
private |
◆ MapManager() [2/2]
◆ CreateBaseMap()
| Map * MapManager::CreateBaseMap |
( |
uint32 |
mapId | ) |
|
◆ CreateMap()
◆ DecreaseScheduledScriptCount() [1/2]
| void MapManager::DecreaseScheduledScriptCount |
( |
| ) |
|
|
inline |
◆ DecreaseScheduledScriptCount() [2/2]
| void MapManager::DecreaseScheduledScriptCount |
( |
std::size_t |
count | ) |
|
|
inline |
◆ DoDelayedMovesAndRemoves()
| void MapManager::DoDelayedMovesAndRemoves |
( |
| ) |
|
◆ DoForAllMaps()
template<typename Worker >
| void MapManager::DoForAllMaps |
( |
Worker && |
worker | ) |
|
◆ DoForAllMapsWithMapId()
template<typename Worker >
| void MapManager::DoForAllMapsWithMapId |
( |
uint32 |
mapId, |
|
|
Worker && |
worker |
|
) |
| |
|
inline |
◆ ExistMapAndVMap()
| bool MapManager::ExistMapAndVMap |
( |
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| |
|
static |
◆ FindBaseMap()
| Map * MapManager::FindBaseMap |
( |
uint32 |
mapId | ) |
const |
|
inlineprivate |
◆ FindBaseNonInstanceMap()
| Map * MapManager::FindBaseNonInstanceMap |
( |
uint32 |
mapId | ) |
const |
◆ FindMap()
◆ FreeInstanceId()
| void MapManager::FreeInstanceId |
( |
uint32 |
instanceId | ) |
|
◆ GenerateInstanceId()
| uint32 MapManager::GenerateInstanceId |
( |
| ) |
|
◆ GetAreaId() [1/3]
| uint32 MapManager::GetAreaId |
( |
uint32 |
phaseMask, |
|
|
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
|
inline |
◆ GetAreaId() [2/3]
◆ GetAreaId() [3/3]
◆ GetMapUpdater()
◆ GetNumInstances()
| uint32 MapManager::GetNumInstances |
( |
| ) |
|
◆ GetNumPlayersInInstances()
| uint32 MapManager::GetNumPlayersInInstances |
( |
| ) |
|
◆ GetZoneAndAreaId() [1/3]
| void MapManager::GetZoneAndAreaId |
( |
uint32 |
phaseMask, |
|
|
uint32 & |
zoneid, |
|
|
uint32 & |
areaid, |
|
|
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
|
inline |
◆ GetZoneAndAreaId() [2/3]
◆ GetZoneAndAreaId() [3/3]
◆ GetZoneId() [1/3]
| uint32 MapManager::GetZoneId |
( |
uint32 |
phaseMask, |
|
|
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| const |
|
inline |
◆ GetZoneId() [2/3]
◆ GetZoneId() [3/3]
◆ IncreaseScheduledScriptsCount()
| void MapManager::IncreaseScheduledScriptsCount |
( |
| ) |
|
|
inline |
◆ Initialize()
| void MapManager::Initialize |
( |
void |
| ) |
|
◆ InitializeVisibilityDistanceInfo()
| void MapManager::InitializeVisibilityDistanceInfo |
( |
| ) |
|
◆ InitInstanceIds()
| void MapManager::InitInstanceIds |
( |
| ) |
|
◆ instance()
◆ IsScriptScheduled()
| bool MapManager::IsScriptScheduled |
( |
| ) |
const |
|
inline |
◆ IsValidMAP()
| bool MapManager::IsValidMAP |
( |
uint32 |
mapid, |
|
|
bool |
startUp |
|
) |
| |
|
static |
◆ IsValidMapCoord() [1/5]
| static bool MapManager::IsValidMapCoord |
( |
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y |
|
) |
| |
|
inlinestatic |
◆ IsValidMapCoord() [2/5]
| static bool MapManager::IsValidMapCoord |
( |
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inlinestatic |
◆ IsValidMapCoord() [3/5]
| static bool MapManager::IsValidMapCoord |
( |
uint32 |
mapid, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
o |
|
) |
| |
|
inlinestatic |
◆ IsValidMapCoord() [4/5]
| static bool MapManager::IsValidMapCoord |
( |
uint32 |
mapid, |
|
|
Position const & |
pos |
|
) |
| |
|
inlinestatic |
◆ IsValidMapCoord() [5/5]
| static bool MapManager::IsValidMapCoord |
( |
WorldLocation const & |
loc | ) |
|
|
inlinestatic |
◆ operator=()
◆ PlayerCannotEnter()
◆ RegisterInstanceId()
| void MapManager::RegisterInstanceId |
( |
uint32 |
instanceId | ) |
|
◆ SetGridCleanUpDelay()
| void MapManager::SetGridCleanUpDelay |
( |
uint32 |
t | ) |
|
|
inline |
◆ SetMapUpdateInterval()
| void MapManager::SetMapUpdateInterval |
( |
uint32 |
t | ) |
|
|
inline |
◆ UnloadAll()
| void MapManager::UnloadAll |
( |
| ) |
|
◆ Update()
| void MapManager::Update |
( |
uint32 |
diff | ) |
|
◆ _freeInstanceIds
◆ _mapsLock
| std::mutex MapManager::_mapsLock |
|
private |
◆ _nextInstanceId
| uint32 MapManager::_nextInstanceId |
|
private |
◆ _scheduledScripts
| std::atomic<std::size_t> MapManager::_scheduledScripts |
|
private |
◆ i_gridCleanUpDelay
| uint32 MapManager::i_gridCleanUpDelay |
|
private |
◆ i_maps
◆ i_timer
◆ m_updater
The documentation for this class was generated from the following files: