TrinityCore
Map Class Reference

#include <Map.h>

+ Inheritance diagram for Map:

Public Types

typedef MapRefManager PlayerList
 
typedef std::unordered_multimap< ObjectGuid::LowType, Creature * > CreatureBySpawnIdContainer
 
typedef std::unordered_multimap< ObjectGuid::LowType, GameObject * > GameObjectBySpawnIdContainer
 
typedef std::unordered_multimap< ObjectGuid::LowType, AreaTrigger * > AreaTriggerBySpawnIdContainer
 
typedef std::function< void(Map *)> FarSpellCallback
 
- Public Types inherited from GridRefManager< NGridType >
typedef LinkedListHead::Iterator< GridReference< NGridType > > iterator
 
- Public Types inherited from RefManager< GridRefManager< NGridType >, NGridType >
typedef LinkedListHead::Iterator< Reference< GridRefManager< NGridType >, NGridType > > iterator
 
typedef LinkedListHead::Iterator< Reference< GridRefManager< NGridType >, NGridType > const > const_iterator
 
- Public Types inherited from LinkedListHead
typedef Iterator< LinkedListElementiterator
 

Public Member Functions

 Map (uint32 id, time_t, uint32 InstanceId, Difficulty SpawnMode)
 
virtual ~Map ()
 
MapEntry const * GetEntry () const
 
bool CanUnload (uint32 diff)
 
virtual bool AddPlayerToMap (Player *player, bool initPlayer=true)
 
virtual void RemovePlayerFromMap (Player *, bool)
 
template<class T >
bool AddToMap (T *)
 
template<class T >
void RemoveFromMap (T *, bool)
 
void VisitNearbyCellsOf (WorldObject *obj, TypeContainerVisitor< Trinity::ObjectUpdater, GridTypeMapContainer > &gridVisitor, TypeContainerVisitor< Trinity::ObjectUpdater, WorldTypeMapContainer > &worldVisitor)
 
virtual void Update (uint32)
 
float GetVisibilityRange () const
 
virtual void InitVisibilityDistance ()
 
void PlayerRelocation (Player *, float x, float y, float z, float orientation)
 
void CreatureRelocation (Creature *creature, float x, float y, float z, float ang, bool respawnRelocationOnFail=true)
 
void GameObjectRelocation (GameObject *go, float x, float y, float z, float orientation, bool respawnRelocationOnFail=true)
 
void DynamicObjectRelocation (DynamicObject *go, float x, float y, float z, float orientation)
 
void AreaTriggerRelocation (AreaTrigger *at, float x, float y, float z, float orientation)
 
template<class T , class CONTAINER >
void Visit (Cell const &cell, TypeContainerVisitor< T, CONTAINER > &visitor)
 
bool IsRemovalGrid (float x, float y) const
 
bool IsRemovalGrid (Position const &pos) const
 
bool IsGridLoaded (uint32 gridId) const
 
bool IsGridLoaded (float x, float y) const
 
bool IsGridLoaded (Position const &pos) const
 
bool GetUnloadLock (GridCoord const &p) const
 
void SetUnloadLock (GridCoord const &p, bool on)
 
void LoadGrid (float x, float y)
 
void LoadGridForActiveObject (float x, float y, WorldObject const *object)
 
void LoadAllCells ()
 
bool UnloadGrid (NGridType &ngrid, bool pForce)
 
void GridMarkNoUnload (uint32 x, uint32 y)
 
void GridUnmarkNoUnload (uint32 x, uint32 y)
 
void UnloadAll ()
 
void ResetGridExpiry (NGridType &grid, float factor=1) const
 
time_t GetGridExpiry () const
 
TerrainInfoGetTerrain () const
 
uint16 GetForceEnabledNavMeshFilterFlags () const
 
void SetForceEnabledNavMeshFilterFlag (uint16 flag)
 
void RemoveForceEnabledNavMeshFilterFlag (uint16 flag)
 
uint16 GetForceDisabledNavMeshFilterFlags () const
 
void SetForceDisabledNavMeshFilterFlag (uint16 flag)
 
void RemoveForceDisabledNavMeshFilterFlag (uint16 flag)
 
void GetFullTerrainStatusForPosition (PhaseShift const &phaseShift, float x, float y, float z, PositionFullTerrainStatus &data, Optional< map_liquidHeaderTypeFlags > reqLiquidType={}, float collisionHeight=2.03128f)
 
ZLiquidStatus GetLiquidStatus (PhaseShift const &phaseShift, float x, float y, float z, Optional< map_liquidHeaderTypeFlags > ReqLiquidType={}, LiquidData *data=nullptr, float collisionHeight=2.03128f)
 
uint32 GetAreaId (PhaseShift const &phaseShift, float x, float y, float z)
 
uint32 GetAreaId (PhaseShift const &phaseShift, Position const &pos)
 
uint32 GetZoneId (PhaseShift const &phaseShift, float x, float y, float z)
 
uint32 GetZoneId (PhaseShift const &phaseShift, Position const &pos)
 
void GetZoneAndAreaId (PhaseShift const &phaseShift, uint32 &zoneid, uint32 &areaid, float x, float y, float z)
 
void GetZoneAndAreaId (PhaseShift const &phaseShift, uint32 &zoneid, uint32 &areaid, Position const &pos)
 
float GetMinHeight (PhaseShift const &phaseShift, float x, float y)
 
float GetGridHeight (PhaseShift const &phaseShift, float x, float y)
 
float GetStaticHeight (PhaseShift const &phaseShift, float x, float y, float z, bool checkVMap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH)
 
float GetStaticHeight (PhaseShift const &phaseShift, Position const &pos, bool checkVMap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH)
 
float GetHeight (PhaseShift const &phaseShift, float x, float y, float z, bool vmap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH)
 
float GetHeight (PhaseShift const &phaseShift, Position const &pos, bool vmap=true, float maxSearchDist=DEFAULT_HEIGHT_SEARCH)
 
float GetWaterLevel (PhaseShift const &phaseShift, float x, float y)
 
bool IsInWater (PhaseShift const &phaseShift, float x, float y, float z, LiquidData *data=nullptr)
 
bool IsUnderWater (PhaseShift const &phaseShift, float x, float y, float z)
 
float GetWaterOrGroundLevel (PhaseShift const &phaseShift, float x, float y, float z, float *ground=nullptr, bool swim=false, float collisionHeight=2.03128f)
 
void MoveAllCreaturesInMoveList ()
 
void MoveAllGameObjectsInMoveList ()
 
void MoveAllDynamicObjectsInMoveList ()
 
void MoveAllAreaTriggersInMoveList ()
 
void RemoveAllObjectsInRemoveList ()
 
virtual void RemoveAllPlayers ()
 
bool CreatureRespawnRelocation (Creature *c, bool diffGridOnly)
 
bool GameObjectRespawnRelocation (GameObject *go, bool diffGridOnly)
 
uint32 GetInstanceId () const
 
Trinity::unique_weak_ptr< MapGetWeakPtr () const
 
void SetWeakPtr (Trinity::unique_weak_ptr< Map > weakRef)
 
virtual TransferAbortParams CannotEnter (Player *)
 
char const * GetMapName () const
 
Difficulty GetDifficultyID () const
 
MapDifficultyEntry const * GetMapDifficulty () const
 
uint32 GetId () const
 
bool Instanceable () const
 
bool IsDungeon () const
 
bool IsNonRaidDungeon () const
 
bool IsRaid () const
 
bool IsLFR () const
 
bool IsNormal () const
 
bool IsHeroic () const
 
bool IsMythic () const
 
bool IsMythicPlus () const
 
bool IsHeroicOrHigher () const
 
bool Is25ManRaid () const
 
bool IsTimewalking () const
 
bool IsBattleground () const
 
bool IsBattleArena () const
 
bool IsBattlegroundOrArena () const
 
bool IsScenario () const
 
bool IsGarrison () const
 
bool IsAlwaysActive () const
 
bool GetEntrancePos (int32 &mapid, float &x, float &y)
 
void AddObjectToRemoveList (WorldObject *obj)
 
void AddObjectToSwitchList (WorldObject *obj, bool on)
 
virtual void DelayedUpdate (uint32 diff)
 
void resetMarkedCells ()
 
bool isCellMarked (uint32 pCellId)
 
void markCell (uint32 pCellId)
 
bool HavePlayers () const
 
uint32 GetPlayersCountExceptGMs () const
 
bool ActiveObjectsNearGrid (NGridType const &ngrid) const
 
void AddWorldObject (WorldObject *obj)
 
void RemoveWorldObject (WorldObject *obj)
 
void SendToPlayers (WorldPacket const *data) const
 
PlayerList const & GetPlayers () const
 
template<typename T >
void DoOnPlayers (T &&fn)
 
void ScriptsStart (std::map< uint32, std::multimap< uint32, ScriptInfo > > const &scripts, uint32 id, Object *source, Object *target)
 Put scripts in the execution queue. More...
 
void ScriptCommandStart (ScriptInfo const &script, uint32 delay, Object *source, Object *target)
 
void AddToActive (WorldObject *obj)
 
void RemoveFromActive (WorldObject *obj)
 
template<class T >
void SwitchGridContainers (T *obj, bool on)
 
void UpdateIteratorBack (Player *player)
 
TempSummonSummonCreature (uint32 entry, Position const &pos, SummonPropertiesEntry const *properties=nullptr, Milliseconds duration=0ms, WorldObject *summoner=nullptr, uint32 spellId=0, uint32 vehId=0, ObjectGuid privateObjectOwner=ObjectGuid::Empty, SmoothPhasingInfo const *smoothPhasingInfo=nullptr)
 
void SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr)
 
AreaTriggerGetAreaTrigger (ObjectGuid const &guid)
 
SceneObjectGetSceneObject (ObjectGuid const &guid)
 
ConversationGetConversation (ObjectGuid const &guid)
 
PlayerGetPlayer (ObjectGuid const &guid)
 
CorpseGetCorpse (ObjectGuid const &guid)
 
CreatureGetCreature (ObjectGuid const &guid)
 
DynamicObjectGetDynamicObject (ObjectGuid const &guid)
 
GameObjectGetGameObject (ObjectGuid const &guid)
 
PetGetPet (ObjectGuid const &guid)
 
TransportGetTransport (ObjectGuid const &guid)
 
CreatureGetCreatureBySpawnId (ObjectGuid::LowType spawnId) const
 
GameObjectGetGameObjectBySpawnId (ObjectGuid::LowType spawnId) const
 
AreaTriggerGetAreaTriggerBySpawnId (ObjectGuid::LowType spawnId) const
 
WorldObjectGetWorldObjectBySpawnId (SpawnObjectType type, ObjectGuid::LowType spawnId) const
 
MapStoredObjectTypesContainerGetObjectsStore ()
 
CreatureBySpawnIdContainerGetCreatureBySpawnIdStore ()
 
CreatureBySpawnIdContainer const & GetCreatureBySpawnIdStore () const
 
GameObjectBySpawnIdContainerGetGameObjectBySpawnIdStore ()
 
GameObjectBySpawnIdContainer const & GetGameObjectBySpawnIdStore () const
 
AreaTriggerBySpawnIdContainerGetAreaTriggerBySpawnIdStore ()
 
AreaTriggerBySpawnIdContainer const & GetAreaTriggerBySpawnIdStore () const
 
std::unordered_set< Corpse * > const * GetCorpsesInCell (uint32 cellId) const
 
CorpseGetCorpseByPlayer (ObjectGuid const &ownerGuid) const
 
InstanceMapToInstanceMap ()
 
InstanceMap const * ToInstanceMap () const
 
BattlegroundMapToBattlegroundMap ()
 
BattlegroundMap const * ToBattlegroundMap () const
 
bool isInLineOfSight (PhaseShift const &phaseShift, float x1, float y1, float z1, float x2, float y2, float z2, LineOfSightChecks checks, VMAP::ModelIgnoreFlags ignoreFlags) const
 
void Balance ()
 
void RemoveGameObjectModel (GameObjectModel const &model)
 
void InsertGameObjectModel (GameObjectModel const &model)
 
bool ContainsGameObjectModel (GameObjectModel const &model) const
 
float GetGameObjectFloor (PhaseShift const &phaseShift, float x, float y, float z, float maxSearchDist=DEFAULT_HEIGHT_SEARCH) const
 
bool getObjectHitPos (PhaseShift const &phaseShift, float x1, float y1, float z1, float x2, float y2, float z2, float &rx, float &ry, float &rz, float modifyDist)
 
virtual ObjectGuid::LowType GetOwnerGuildId (uint32=TEAM_OTHER) const
 
time_t GetLinkedRespawnTime (ObjectGuid guid) const
 
time_t GetRespawnTime (SpawnObjectType type, ObjectGuid::LowType spawnId) const
 
time_t GetCreatureRespawnTime (ObjectGuid::LowType spawnId) const
 
time_t GetGORespawnTime (ObjectGuid::LowType spawnId) const
 
void UpdatePlayerZoneStats (uint32 oldZone, uint32 newZone)
 
void SaveRespawnTime (SpawnObjectType type, ObjectGuid::LowType spawnId, uint32 entry, time_t respawnTime, uint32 gridId, CharacterDatabaseTransaction dbTrans=nullptr, bool startup=false)
 
void SaveRespawnInfoDB (RespawnInfo const &info, CharacterDatabaseTransaction dbTrans=nullptr)
 
void LoadRespawnTimes ()
 
void DeleteRespawnTimes ()
 
void DeleteRespawnTimesInDB ()
 
void LoadCorpseData ()
 
void DeleteCorpseData ()
 
void AddCorpse (Corpse *corpse)
 
void RemoveCorpse (Corpse *corpse)
 
CorpseConvertCorpseToBones (ObjectGuid const &ownerGuid, bool insignia=false)
 
void RemoveOldCorpses ()
 
void SendInitTransports (Player *player)
 
void SendRemoveTransports (Player *player)
 
void SendUpdateTransportVisibility (Player *player)
 
void SendZoneDynamicInfo (uint32 zoneId, Player *player) const
 
void SendZoneWeather (uint32 zoneId, Player *player) const
 
void SendZoneWeather (ZoneDynamicInfo const &zoneDynamicInfo, Player *player) const
 
void SetZoneMusic (uint32 zoneId, uint32 musicId)
 
WeatherGetOrGenerateZoneDefaultWeather (uint32 zoneId)
 
WeatherState GetZoneWeather (uint32 zoneId) const
 
void SetZoneWeather (uint32 zoneId, WeatherState weatherId, float intensity)
 
void SetZoneOverrideLight (uint32 zoneId, uint32 areaLightId, uint32 overrideLightId, Milliseconds transitionTime)
 
void UpdateAreaDependentAuras ()
 
template<HighGuid high>
ObjectGuid::LowType GenerateLowGuid ()
 
template<HighGuid high>
ObjectGuid::LowType GetMaxLowGuid ()
 
void AddUpdateObject (Object *obj)
 
void RemoveUpdateObject (Object *obj)
 
size_t GetActiveNonPlayersCount () const
 
virtual std::string GetDebugInfo () const
 
void ProcessRespawns ()
 
void ApplyDynamicModeRespawnScaling (WorldObject const *obj, ObjectGuid::LowType spawnId, uint32 &respawnDelay, uint32 mode) const
 
void GetRespawnInfo (std::vector< RespawnInfo const * > &respawnData, SpawnObjectTypeMask types) const
 
void Respawn (SpawnObjectType type, ObjectGuid::LowType spawnId, CharacterDatabaseTransaction dbTrans=nullptr)
 
void RemoveRespawnTime (SpawnObjectType type, ObjectGuid::LowType spawnId, CharacterDatabaseTransaction dbTrans=nullptr, bool alwaysDeleteFromDB=false)
 
size_t DespawnAll (SpawnObjectType type, ObjectGuid::LowType spawnId)
 
bool ShouldBeSpawnedOnGridLoad (SpawnObjectType type, ObjectGuid::LowType spawnId) const
 
template<typename T >
bool ShouldBeSpawnedOnGridLoad (ObjectGuid::LowType spawnId) const
 
SpawnGroupTemplateData const * GetSpawnGroupData (uint32 groupId) const
 
bool IsSpawnGroupActive (uint32 groupId) const
 
bool SpawnGroupSpawn (uint32 groupId, bool ignoreRespawn=false, bool force=false, std::vector< WorldObject * > *spawnedObjects=nullptr)
 
bool SpawnGroupDespawn (uint32 groupId, bool deleteRespawnTimes=false, size_t *count=nullptr)
 
void SetSpawnGroupInactive (uint32 groupId)
 
SpawnedPoolDataGetPoolData ()
 
SpawnedPoolData const & GetPoolData () const
 
void AddFarSpellCallback (FarSpellCallback &&callback)
 
void InitSpawnGroupState ()
 
void UpdateSpawnGroupConditions ()
 
MultiPersonalPhaseTrackerGetMultiPersonalPhaseTracker ()
 
void UpdatePersonalPhasesForPlayer (Player const *player)
 
int32 GetWorldStateValue (int32 worldStateId) const
 
void SetWorldStateValue (int32 worldStateId, int32 value, bool hidden)
 
WorldStateValueContainer const & GetWorldStateValues () const
 
void AddInfiniteAOIVignette (Vignettes::VignetteData *vignette)
 
void RemoveInfiniteAOIVignette (Vignettes::VignetteData *vignette)
 
std::vector< Vignettes::VignetteData * > const & GetInfiniteAOIVignettes () const
 
template<>
void AddToGrid (Creature *obj, Cell const &cell)
 
template<>
void AddToGrid (GameObject *obj, Cell const &cell)
 
template<>
void AddToGrid (DynamicObject *obj, Cell const &cell)
 
template<>
void AddToGrid (AreaTrigger *obj, Cell const &cell)
 
template<>
void AddToGrid (Corpse *obj, Cell const &cell)
 
template<>
void SwitchGridContainers (Creature *obj, bool on)
 
template<>
void DeleteFromWorld (Player *player)
 
template<>
void InitializeObject (Creature *obj)
 
template<>
void InitializeObject (GameObject *obj)
 
template<>
bool AddToMap (Transport *obj)
 
template<>
void RemoveFromMap (Transport *obj, bool remove)
 
- Public Member Functions inherited from GridRefManager< NGridType >
GridReference< NGridType > * getFirst ()
 
GridReference< NGridType > * getLast ()
 
iterator begin ()
 
iterator end ()
 
- Public Member Functions inherited from RefManager< GridRefManager< NGridType >, NGridType >
 RefManager ()
 
Reference< GridRefManager< NGridType >, NGridType > * getFirst ()
 
Reference< GridRefManager< NGridType >, NGridType > const * getFirst () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
virtual ~RefManager ()
 
void clearReferences ()
 
- Public Member Functions inherited from LinkedListHead
 LinkedListHead ()
 
bool isEmpty () const
 
LinkedListElementgetFirst ()
 
LinkedListElement const * getFirst () const
 
LinkedListElementgetLast ()
 
LinkedListElement const * getLast () const
 
void insertFirst (LinkedListElement *pElem)
 
void insertLast (LinkedListElement *pElem)
 
uint32 getSize () const
 
void incSize ()
 
void decSize ()
 

Static Public Member Functions

static void InitStateMachine ()
 
static void DeleteStateMachine ()
 
template<typename T >
static bool CheckGridIntegrity (T *object, bool moved, char const *objType)
 
static TransferAbortParams PlayerCannotEnter (uint32 mapid, Player *player)
 

Public Attributes

std::unordered_map< ObjectGuid::LowType, CreatureGroup * > CreatureGroupHolder
 

Protected Types

typedef std::set< WorldObject * > ActiveNonPlayers
 
typedef std::set< Transport * > TransportsContainer
 

Protected Member Functions

virtual void LoadGridObjects (NGridType *grid, Cell const &cell)
 
- Protected Member Functions inherited from LinkedListHead
 ~LinkedListHead ()
 

Protected Attributes

MapEntry const * i_mapEntry
 
Difficulty i_spawnMode
 
uint32 i_InstanceId
 
Trinity::unique_weak_ptr< Mapm_weakRef
 
uint32 m_unloadTimer
 
float m_VisibleDistance
 
DynamicMapTree _dynamicTree
 
MapRefManager m_mapRefManager
 
MapRefManager::iterator m_mapRefIter
 
int32 m_VisibilityNotifyPeriod
 
ActiveNonPlayers m_activeNonPlayers
 
ActiveNonPlayers::iterator m_activeNonPlayersIter
 
TransportsContainer _transports
 
TransportsContainer::iterator _transportsUpdateIter
 

Private Types

typedef std::multimap< time_t, ScriptActionScriptScheduleMap
 

Private Member Functions

void SetTimer (uint32 t)
 
void SendInitSelf (Player *player)
 
template<typename T >
bool MapObjectCellRelocation (T *object, Cell new_cell, char const *objType)
 
bool CreatureCellRelocation (Creature *creature, Cell new_cell)
 
bool GameObjectCellRelocation (GameObject *go, Cell new_cell)
 
bool DynamicObjectCellRelocation (DynamicObject *go, Cell new_cell)
 
bool AreaTriggerCellRelocation (AreaTrigger *at, Cell new_cell)
 
template<class T >
void InitializeObject (T *obj)
 
void AddCreatureToMoveList (Creature *c, float x, float y, float z, float ang)
 
void RemoveCreatureFromMoveList (Creature *c)
 
void AddGameObjectToMoveList (GameObject *go, float x, float y, float z, float ang)
 
void RemoveGameObjectFromMoveList (GameObject *go)
 
void AddDynamicObjectToMoveList (DynamicObject *go, float x, float y, float z, float ang)
 
void RemoveDynamicObjectFromMoveList (DynamicObject *go)
 
void AddAreaTriggerToMoveList (AreaTrigger *at, float x, float y, float z, float ang)
 
void RemoveAreaTriggerFromMoveList (AreaTrigger *at)
 
bool IsGridLoaded (GridCoord const &) const
 
void EnsureGridCreated (GridCoord const &)
 
bool EnsureGridLoaded (Cell const &)
 
void EnsureGridLoadedForActiveObject (Cell const &, WorldObject const *object)
 
void buildNGridLinkage (NGridType *pNGridType)
 
NGridTypegetNGrid (uint32 x, uint32 y) const
 
bool isGridObjectDataLoaded (uint32 x, uint32 y) const
 
void setGridObjectDataLoaded (bool pLoaded, uint32 x, uint32 y)
 
void setNGrid (NGridType *grid, uint32 x, uint32 y)
 
void ScriptsProcess ()
 Process queued scripts. More...
 
void SendObjectUpdates ()
 
Player_GetScriptPlayerSourceOrTarget (Object *source, Object *target, ScriptInfo const *scriptInfo) const
 
Creature_GetScriptCreatureSourceOrTarget (Object *source, Object *target, ScriptInfo const *scriptInfo, bool bReverse=false) const
 
GameObject_GetScriptGameObjectSourceOrTarget (Object *source, Object *target, ScriptInfo const *scriptInfo, bool bReverse=false) const
 
Unit_GetScriptUnit (Object *obj, bool isSource, ScriptInfo const *scriptInfo) const
 
Player_GetScriptPlayer (Object *obj, bool isSource, ScriptInfo const *scriptInfo) const
 
Creature_GetScriptCreature (Object *obj, bool isSource, ScriptInfo const *scriptInfo) const
 
WorldObject_GetScriptWorldObject (Object *obj, bool isSource, ScriptInfo const *scriptInfo) const
 
void _ScriptProcessDoor (Object *source, Object *target, ScriptInfo const *scriptInfo) const
 
GameObject_FindGameObject (WorldObject *pWorldObject, ObjectGuid::LowType guid) const
 
void ProcessRelocationNotifies (const uint32 diff)
 
bool CheckRespawn (RespawnInfo *info)
 
void DoRespawn (SpawnObjectType type, ObjectGuid::LowType spawnId, uint32 gridId)
 
bool AddRespawnInfo (RespawnInfo const &info)
 
void UnloadAllRespawnInfos ()
 
RespawnInfoGetRespawnInfo (SpawnObjectType type, ObjectGuid::LowType spawnId) const
 
void Respawn (RespawnInfo *info, CharacterDatabaseTransaction dbTrans=nullptr)
 
void DeleteRespawnInfo (RespawnInfo *info, CharacterDatabaseTransaction dbTrans=nullptr)
 
void DeleteRespawnInfoFromDB (SpawnObjectType type, ObjectGuid::LowType spawnId, CharacterDatabaseTransaction dbTrans=nullptr)
 
template<class T >
void AddToGrid (T *object, Cell const &cell)
 
template<class T >
void DeleteFromWorld (T *)
 
void AddToActiveHelper (WorldObject *obj)
 
void RemoveFromActiveHelper (WorldObject *obj)
 
RespawnInfoMapGetRespawnMapForType (SpawnObjectType type)
 
RespawnInfoMap const * GetRespawnMapForType (SpawnObjectType type) const
 
void SetSpawnGroupActive (uint32 groupId, bool state)
 
ObjectGuidGeneratorGetGuidSequenceGenerator (HighGuid high)
 

Private Attributes

bool _creatureToMoveLock
 
std::vector< Creature * > _creaturesToMove
 
bool _gameObjectsToMoveLock
 
std::vector< GameObject * > _gameObjectsToMove
 
bool _dynamicObjectsToMoveLock
 
std::vector< DynamicObject * > _dynamicObjectsToMove
 
bool _areaTriggersToMoveLock
 
std::vector< AreaTrigger * > _areaTriggersToMove
 
time_t i_gridExpiry
 
std::shared_ptr< TerrainInfom_terrain
 
uint16 m_forceEnabledNavMeshFilterFlags
 
uint16 m_forceDisabledNavMeshFilterFlags
 
NGridTypei_grids [MAX_NUMBER_OF_GRIDS][MAX_NUMBER_OF_GRIDS]
 
std::bitset< TOTAL_NUMBER_OF_CELLS_PER_MAP *TOTAL_NUMBER_OF_CELLS_PER_MAPmarked_cells
 
bool i_scriptLock
 
std::set< WorldObject * > i_objectsToRemove
 
std::map< WorldObject *, bool > i_objectsToSwitch
 
std::set< WorldObject * > i_worldObjects
 
ScriptScheduleMap m_scriptSchedule
 
std::unique_ptr< RespawnListContainer_respawnTimes
 
RespawnInfoMap _creatureRespawnTimesBySpawnId
 
RespawnInfoMap _gameObjectRespawnTimesBySpawnId
 
std::unordered_set< uint32_toggledSpawnGroupIds
 
uint32 _respawnCheckTimer
 
std::unordered_map< uint32, uint32_zonePlayerCountMap
 
ZoneDynamicInfoMap _zoneDynamicInfo
 
IntervalTimer _weatherUpdateTimer
 
std::map< HighGuid, std::unique_ptr< ObjectGuidGenerator > > _guidGenerators
 
std::unique_ptr< SpawnedPoolData_poolData
 
MapStoredObjectTypesContainer _objectsStore
 
CreatureBySpawnIdContainer _creatureBySpawnIdStore
 
GameObjectBySpawnIdContainer _gameobjectBySpawnIdStore
 
AreaTriggerBySpawnIdContainer _areaTriggerBySpawnIdStore
 
std::unordered_map< uint32, std::unordered_set< Corpse * > > _corpsesByCell
 
std::unordered_map< ObjectGuid, Corpse * > _corpsesByPlayer
 
std::unordered_set< Corpse * > _corpseBones
 
std::unordered_set< Object * > _updateObjects
 
MPSCQueue< FarSpellCallback_farSpellCallbacks
 
MultiPersonalPhaseTracker _multiPersonalPhaseTracker
 
WorldStateValueContainer _worldStateValues
 
std::vector< Vignettes::VignetteData * > _infiniteAOIVignettes
 
PeriodicTimer _vignetteUpdateTimer
 

Friends

class MapReference
 

Detailed Description

Definition at line 188 of file Map.h.

Member Typedef Documentation

◆ ActiveNonPlayers

typedef std::set<WorldObject*> Map::ActiveNonPlayers
protected

Definition at line 622 of file Map.h.

◆ AreaTriggerBySpawnIdContainer

Definition at line 432 of file Map.h.

◆ CreatureBySpawnIdContainer

typedef std::unordered_multimap<ObjectGuid::LowType, Creature*> Map::CreatureBySpawnIdContainer

Definition at line 424 of file Map.h.

◆ FarSpellCallback

typedef std::function<void(Map*)> Map::FarSpellCallback

Definition at line 718 of file Map.h.

◆ GameObjectBySpawnIdContainer

Definition at line 428 of file Map.h.

◆ PlayerList

Definition at line 366 of file Map.h.

◆ ScriptScheduleMap

typedef std::multimap<time_t, ScriptAction> Map::ScriptScheduleMap
private

Definition at line 660 of file Map.h.

◆ TransportsContainer

typedef std::set<Transport*> Map::TransportsContainer
protected

Definition at line 627 of file Map.h.

Constructor & Destructor Documentation

◆ Map()

Map::Map ( uint32  id,
time_t  expiry,
uint32  InstanceId,
Difficulty  SpawnMode 
)

Definition at line 133 of file Map.cpp.

+ Here is the call graph for this function:

◆ ~Map()

Map::~Map ( )
virtual

Definition at line 89 of file Map.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ _FindGameObject()

GameObject * Map::_FindGameObject ( WorldObject pWorldObject,
ObjectGuid::LowType  guid 
) const
inlineprivate

Definition at line 301 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptCreature()

Creature * Map::_GetScriptCreature ( Object obj,
bool  isSource,
ScriptInfo const *  scriptInfo 
) const
inlineprivate

Definition at line 222 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptCreatureSourceOrTarget()

Creature * Map::_GetScriptCreatureSourceOrTarget ( Object source,
Object target,
ScriptInfo const *  scriptInfo,
bool  bReverse = false 
) const
inlineprivate

Definition at line 123 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptGameObjectSourceOrTarget()

GameObject * Map::_GetScriptGameObjectSourceOrTarget ( Object source,
Object target,
ScriptInfo const *  scriptInfo,
bool  bReverse = false 
) const
inlineprivate

Definition at line 156 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptPlayer()

Player * Map::_GetScriptPlayer ( Object obj,
bool  isSource,
ScriptInfo const *  scriptInfo 
) const
inlineprivate

Definition at line 207 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptPlayerSourceOrTarget()

Player * Map::_GetScriptPlayerSourceOrTarget ( Object source,
Object target,
ScriptInfo const *  scriptInfo 
) const
inlineprivate

Definition at line 101 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptUnit()

Unit * Map::_GetScriptUnit ( Object obj,
bool  isSource,
ScriptInfo const *  scriptInfo 
) const
inlineprivate

Definition at line 189 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _GetScriptWorldObject()

WorldObject * Map::_GetScriptWorldObject ( Object obj,
bool  isSource,
ScriptInfo const *  scriptInfo 
) const
inlineprivate

Definition at line 237 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _ScriptProcessDoor()

void Map::_ScriptProcessDoor ( Object source,
Object target,
ScriptInfo const *  scriptInfo 
) const
inlineprivate

Definition at line 253 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ActiveObjectsNearGrid()

bool Map::ActiveObjectsNearGrid ( NGridType const &  ngrid) const

Definition at line 2696 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddAreaTriggerToMoveList()

void Map::AddAreaTriggerToMoveList ( AreaTrigger at,
float  x,
float  y,
float  z,
float  ang 
)
private

Definition at line 1258 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddCorpse()

void Map::AddCorpse ( Corpse corpse)

Definition at line 3751 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddCreatureToMoveList()

void Map::AddCreatureToMoveList ( Creature c,
float  x,
float  y,
float  z,
float  ang 
)
private

Definition at line 1201 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddDynamicObjectToMoveList()

void Map::AddDynamicObjectToMoveList ( DynamicObject go,
float  x,
float  y,
float  z,
float  ang 
)
private

Definition at line 1239 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddFarSpellCallback()

void Map::AddFarSpellCallback ( FarSpellCallback &&  callback)

Definition at line 2547 of file Map.cpp.

+ Here is the caller graph for this function:

◆ AddGameObjectToMoveList()

void Map::AddGameObjectToMoveList ( GameObject go,
float  x,
float  y,
float  z,
float  ang 
)
private

Definition at line 1220 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddInfiniteAOIVignette()

void Map::AddInfiniteAOIVignette ( Vignettes::VignetteData vignette)

Definition at line 502 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddObjectToRemoveList()

void Map::AddObjectToRemoveList ( WorldObject obj)

Definition at line 2580 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddObjectToSwitchList()

void Map::AddObjectToSwitchList ( WorldObject obj,
bool  on 
)

Definition at line 2590 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddPlayerToMap()

bool Map::AddPlayerToMap ( Player player,
bool  initPlayer = true 
)
virtual

Reimplemented in GarrisonMap, InstanceMap, and BattlegroundMap.

Definition at line 415 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddRespawnInfo()

bool Map::AddRespawnInfo ( RespawnInfo const &  info)
private

Definition at line 2090 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddToActive()

void Map::AddToActive ( WorldObject obj)

Definition at line 2733 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddToActiveHelper()

void Map::AddToActiveHelper ( WorldObject obj)
inlineprivate

Definition at line 732 of file Map.h.

+ Here is the caller graph for this function:

◆ AddToGrid() [1/6]

template<>
void Map::AddToGrid ( AreaTrigger obj,
Cell const &  cell 
)

Definition at line 221 of file Map.cpp.

+ Here is the call graph for this function:

◆ AddToGrid() [2/6]

template<>
void Map::AddToGrid ( Corpse obj,
Cell const &  cell 
)

Definition at line 230 of file Map.cpp.

+ Here is the call graph for this function:

◆ AddToGrid() [3/6]

template<>
void Map::AddToGrid ( Creature obj,
Cell const &  cell 
)

Definition at line 188 of file Map.cpp.

+ Here is the call graph for this function:

◆ AddToGrid() [4/6]

template<>
void Map::AddToGrid ( DynamicObject obj,
Cell const &  cell 
)

Definition at line 209 of file Map.cpp.

+ Here is the call graph for this function:

◆ AddToGrid() [5/6]

template<>
void Map::AddToGrid ( GameObject obj,
Cell const &  cell 
)

Definition at line 200 of file Map.cpp.

+ Here is the call graph for this function:

◆ AddToGrid() [6/6]

template<class T >
void Map::AddToGrid ( T *  object,
Cell const &  cell 
)
private

Definition at line 178 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddToMap() [1/2]

template<class T >
bool Map::AddToMap ( T *  obj)
Todo:
Needs clean up. An object should not be added to map twice.

Definition at line 550 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AddToMap() [2/2]

template<>
bool Map::AddToMap ( Transport obj)

Definition at line 600 of file Map.cpp.

+ Here is the call graph for this function:

◆ AddUpdateObject()

void Map::AddUpdateObject ( Object obj)
inline

Definition at line 532 of file Map.h.

+ Here is the caller graph for this function:

◆ AddWorldObject()

void Map::AddWorldObject ( WorldObject obj)
inline

Definition at line 361 of file Map.h.

+ Here is the caller graph for this function:

◆ ApplyDynamicModeRespawnScaling()

void Map::ApplyDynamicModeRespawnScaling ( WorldObject const *  obj,
ObjectGuid::LowType  spawnId,
uint32 respawnDelay,
uint32  mode 
) const

Definition at line 2275 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AreaTriggerCellRelocation()

bool Map::AreaTriggerCellRelocation ( AreaTrigger at,
Cell  new_cell 
)
private

Definition at line 1537 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ AreaTriggerRelocation()

void Map::AreaTriggerRelocation ( AreaTrigger at,
float  x,
float  y,
float  z,
float  orientation 
)

Definition at line 1171 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Balance()

void Map::Balance ( )
inline

Definition at line 461 of file Map.h.

+ Here is the caller graph for this function:

◆ buildNGridLinkage()

void Map::buildNGridLinkage ( NGridType pNGridType)
inlineprivate

Definition at line 590 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CannotEnter()

virtual TransferAbortParams Map::CannotEnter ( Player )
inlinevirtual

Reimplemented in InstanceMap, and BattlegroundMap.

Definition at line 320 of file Map.h.

+ Here is the caller graph for this function:

◆ CanUnload()

bool Map::CanUnload ( uint32  diff)
inline

Definition at line 198 of file Map.h.

◆ CheckGridIntegrity()

template<typename T >
bool Map::CheckGridIntegrity ( T *  object,
bool  moved,
char const *  objType 
)
static

Definition at line 1036 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CheckRespawn()

bool Map::CheckRespawn ( RespawnInfo info)
private

Definition at line 1987 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ContainsGameObjectModel()

bool Map::ContainsGameObjectModel ( GameObjectModel const &  model) const
inline

Definition at line 464 of file Map.h.

◆ ConvertCorpseToBones()

Corpse * Map::ConvertCorpseToBones ( ObjectGuid const &  ownerGuid,
bool  insignia = false 
)

Definition at line 3782 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreatureCellRelocation()

bool Map::CreatureCellRelocation ( Creature creature,
Cell  new_cell 
)
private

Definition at line 1522 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreatureRelocation()

void Map::CreatureRelocation ( Creature creature,
float  x,
float  y,
float  z,
float  ang,
bool  respawnRelocationOnFail = true 
)

Definition at line 1080 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ CreatureRespawnRelocation()

bool Map::CreatureRespawnRelocation ( Creature c,
bool  diffGridOnly 
)

Definition at line 1542 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DelayedUpdate()

void Map::DelayedUpdate ( uint32  diff)
virtual

Definition at line 2552 of file Map.cpp.

+ Here is the call graph for this function:

◆ DeleteCorpseData()

void Map::DeleteCorpseData ( )

Definition at line 3742 of file Map.cpp.

+ Here is the call graph for this function:

◆ DeleteFromWorld() [1/2]

template<>
void Map::DeleteFromWorld ( Player player)
Todo:
I do not know why we need this, it should be removed in ~Object anyway

Definition at line 304 of file Map.cpp.

+ Here is the call graph for this function:

◆ DeleteFromWorld() [2/2]

template<class T >
void Map::DeleteFromWorld ( T *  obj)
private

Definition at line 297 of file Map.cpp.

+ Here is the caller graph for this function:

◆ DeleteRespawnInfo()

void Map::DeleteRespawnInfo ( RespawnInfo info,
CharacterDatabaseTransaction  dbTrans = nullptr 
)
private

Definition at line 2160 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteRespawnInfoFromDB()

void Map::DeleteRespawnInfoFromDB ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId,
CharacterDatabaseTransaction  dbTrans = nullptr 
)
private

Definition at line 2185 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DeleteRespawnTimes()

void Map::DeleteRespawnTimes ( )
inline

Definition at line 493 of file Map.h.

+ Here is the caller graph for this function:

◆ DeleteRespawnTimesInDB()

void Map::DeleteRespawnTimesInDB ( )

Definition at line 3631 of file Map.cpp.

+ Here is the call graph for this function:

◆ DeleteStateMachine()

void Map::DeleteStateMachine ( )
static

Definition at line 125 of file Map.cpp.

+ Here is the caller graph for this function:

◆ DespawnAll()

size_t Map::DespawnAll ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId 
)

Definition at line 2067 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoOnPlayers()

template<typename T >
void Map::DoOnPlayers ( T &&  fn)
inline

Definition at line 370 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DoRespawn()

void Map::DoRespawn ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId,
uint32  gridId 
)
private

Definition at line 2198 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DynamicObjectCellRelocation()

bool Map::DynamicObjectCellRelocation ( DynamicObject go,
Cell  new_cell 
)
private

Definition at line 1532 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DynamicObjectRelocation()

void Map::DynamicObjectRelocation ( DynamicObject go,
float  x,
float  y,
float  z,
float  orientation 
)

Definition at line 1141 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnsureGridCreated()

void Map::EnsureGridCreated ( GridCoord const &  p)
private

Definition at line 313 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnsureGridLoaded()

bool Map::EnsureGridLoaded ( Cell const &  cell)
private

Definition at line 355 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ EnsureGridLoadedForActiveObject()

void Map::EnsureGridLoadedForActiveObject ( Cell const &  cell,
WorldObject const *  object 
)
private

Definition at line 336 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GameObjectCellRelocation()

bool Map::GameObjectCellRelocation ( GameObject go,
Cell  new_cell 
)
private

Definition at line 1527 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GameObjectRelocation()

void Map::GameObjectRelocation ( GameObject go,
float  x,
float  y,
float  z,
float  orientation,
bool  respawnRelocationOnFail = true 
)

Definition at line 1112 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GameObjectRespawnRelocation()

bool Map::GameObjectRespawnRelocation ( GameObject go,
bool  diffGridOnly 
)

Definition at line 1573 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GenerateLowGuid()

template<HighGuid high>
ObjectGuid::LowType Map::GenerateLowGuid ( )
inline

Definition at line 519 of file Map.h.

+ Here is the caller graph for this function:

◆ GetActiveNonPlayersCount()

size_t Map::GetActiveNonPlayersCount ( ) const
inline

Definition at line 542 of file Map.h.

+ Here is the caller graph for this function:

◆ GetAreaId() [1/2]

uint32 Map::GetAreaId ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z 
)

Definition at line 1732 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetAreaId() [2/2]

uint32 Map::GetAreaId ( PhaseShift const &  phaseShift,
Position const &  pos 
)
inline

Definition at line 280 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAreaTrigger()

AreaTrigger * Map::GetAreaTrigger ( ObjectGuid const &  guid)

Definition at line 3454 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetAreaTriggerBySpawnId()

AreaTrigger * Map::GetAreaTriggerBySpawnId ( ObjectGuid::LowType  spawnId) const

Definition at line 3536 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetAreaTriggerBySpawnIdStore() [1/2]

AreaTriggerBySpawnIdContainer & Map::GetAreaTriggerBySpawnIdStore ( )
inline

Definition at line 433 of file Map.h.

+ Here is the caller graph for this function:

◆ GetAreaTriggerBySpawnIdStore() [2/2]

AreaTriggerBySpawnIdContainer const & Map::GetAreaTriggerBySpawnIdStore ( ) const
inline

Definition at line 434 of file Map.h.

◆ GetConversation()

Conversation * Map::GetConversation ( ObjectGuid const &  guid)

Definition at line 3464 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCorpse()

Corpse * Map::GetCorpse ( ObjectGuid const &  guid)

Definition at line 3474 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCorpseByPlayer()

Corpse * Map::GetCorpseByPlayer ( ObjectGuid const &  ownerGuid) const
inline

Definition at line 445 of file Map.h.

+ Here is the caller graph for this function:

◆ GetCorpsesInCell()

std::unordered_set< Corpse * > const * Map::GetCorpsesInCell ( uint32  cellId) const
inline

Definition at line 436 of file Map.h.

+ Here is the caller graph for this function:

◆ GetCreature()

Creature * Map::GetCreature ( ObjectGuid const &  guid)

Definition at line 3479 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetCreatureBySpawnId()

Creature * Map::GetCreatureBySpawnId ( ObjectGuid::LowType  spawnId) const

Definition at line 3508 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetCreatureBySpawnIdStore() [1/2]

CreatureBySpawnIdContainer & Map::GetCreatureBySpawnIdStore ( )
inline

Definition at line 425 of file Map.h.

+ Here is the caller graph for this function:

◆ GetCreatureBySpawnIdStore() [2/2]

CreatureBySpawnIdContainer const & Map::GetCreatureBySpawnIdStore ( ) const
inline

Definition at line 426 of file Map.h.

◆ GetCreatureRespawnTime()

time_t Map::GetCreatureRespawnTime ( ObjectGuid::LowType  spawnId) const
inline

Definition at line 485 of file Map.h.

+ Here is the caller graph for this function:

◆ GetDebugInfo()

std::string Map::GetDebugInfo ( ) const
virtual

Reimplemented in InstanceMap.

Definition at line 4031 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetDifficultyID()

Difficulty Map::GetDifficultyID ( ) const
inline

Definition at line 324 of file Map.h.

+ Here is the caller graph for this function:

◆ GetDynamicObject()

DynamicObject * Map::GetDynamicObject ( ObjectGuid const &  guid)

Definition at line 3484 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetEntrancePos()

bool Map::GetEntrancePos ( int32 mapid,
float &  x,
float &  y 
)

Definition at line 3360 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetEntry()

MapEntry const * Map::GetEntry ( ) const
inline

Definition at line 195 of file Map.h.

+ Here is the caller graph for this function:

◆ GetForceDisabledNavMeshFilterFlags()

uint16 Map::GetForceDisabledNavMeshFilterFlags ( ) const
inline

Definition at line 272 of file Map.h.

+ Here is the caller graph for this function:

◆ GetForceEnabledNavMeshFilterFlags()

uint16 Map::GetForceEnabledNavMeshFilterFlags ( ) const
inline

Definition at line 268 of file Map.h.

+ Here is the caller graph for this function:

◆ GetFullTerrainStatusForPosition()

void Map::GetFullTerrainStatusForPosition ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
PositionFullTerrainStatus data,
Optional< map_liquidHeaderTypeFlags reqLiquidType = {},
float  collisionHeight = 2.03128f 
)

Definition at line 1720 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameObject()

GameObject * Map::GetGameObject ( ObjectGuid const &  guid)

Definition at line 3489 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGameObjectBySpawnId()

GameObject * Map::GetGameObjectBySpawnId ( ObjectGuid::LowType  spawnId) const

Definition at line 3522 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetGameObjectBySpawnIdStore() [1/2]

GameObjectBySpawnIdContainer & Map::GetGameObjectBySpawnIdStore ( )
inline

Definition at line 429 of file Map.h.

+ Here is the caller graph for this function:

◆ GetGameObjectBySpawnIdStore() [2/2]

GameObjectBySpawnIdContainer const & Map::GetGameObjectBySpawnIdStore ( ) const
inline

Definition at line 430 of file Map.h.

◆ GetGameObjectFloor()

float Map::GetGameObjectFloor ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
float  maxSearchDist = DEFAULT_HEIGHT_SEARCH 
) const
inline

Definition at line 465 of file Map.h.

◆ GetGORespawnTime()

time_t Map::GetGORespawnTime ( ObjectGuid::LowType  spawnId) const
inline

Definition at line 486 of file Map.h.

+ Here is the caller graph for this function:

◆ GetGridExpiry()

time_t Map::GetGridExpiry ( ) const
inline

Definition at line 258 of file Map.h.

◆ GetGridHeight()

float Map::GetGridHeight ( PhaseShift const &  phaseShift,
float  x,
float  y 
)

Definition at line 1752 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetGuidSequenceGenerator()

ObjectGuidGenerator & Map::GetGuidSequenceGenerator ( HighGuid  high)
private

Definition at line 2538 of file Map.cpp.

+ Here is the caller graph for this function:

◆ GetHeight() [1/2]

float Map::GetHeight ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
bool  vmap = true,
float  maxSearchDist = DEFAULT_HEIGHT_SEARCH 
)
inline

Definition at line 290 of file Map.h.

+ Here is the caller graph for this function:

◆ GetHeight() [2/2]

float Map::GetHeight ( PhaseShift const &  phaseShift,
Position const &  pos,
bool  vmap = true,
float  maxSearchDist = DEFAULT_HEIGHT_SEARCH 
)
inline

Definition at line 291 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetId()

uint32 Map::GetId ( ) const

Definition at line 3228 of file Map.cpp.

+ Here is the caller graph for this function:

◆ GetInfiniteAOIVignettes()

std::vector< Vignettes::VignetteData * > const & Map::GetInfiniteAOIVignettes ( ) const
inline

Definition at line 837 of file Map.h.

◆ GetInstanceId()

uint32 Map::GetInstanceId ( ) const
inline

Definition at line 314 of file Map.h.

+ Here is the caller graph for this function:

◆ GetLinkedRespawnTime()

time_t Map::GetLinkedRespawnTime ( ObjectGuid  guid) const

Definition at line 3642 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetLiquidStatus()

ZLiquidStatus Map::GetLiquidStatus ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
Optional< map_liquidHeaderTypeFlags ReqLiquidType = {},
LiquidData data = nullptr,
float  collisionHeight = 2.03128f 
)

Definition at line 1726 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMapDifficulty()

MapDifficultyEntry const * Map::GetMapDifficulty ( ) const

Definition at line 3223 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMapName()

char const * Map::GetMapName ( ) const

Definition at line 1854 of file Map.cpp.

+ Here is the caller graph for this function:

◆ GetMaxLowGuid()

template<HighGuid high>
ObjectGuid::LowType Map::GetMaxLowGuid ( )
inline

Definition at line 526 of file Map.h.

+ Here is the caller graph for this function:

◆ GetMinHeight()

float Map::GetMinHeight ( PhaseShift const &  phaseShift,
float  x,
float  y 
)

Definition at line 1747 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetMultiPersonalPhaseTracker()

MultiPersonalPhaseTracker & Map::GetMultiPersonalPhaseTracker ( )
inline

Definition at line 814 of file Map.h.

+ Here is the caller graph for this function:

◆ getNGrid()

NGridType * Map::getNGrid ( uint32  x,
uint32  y 
) const
inlineprivate

Definition at line 592 of file Map.h.

+ Here is the caller graph for this function:

◆ getObjectHitPos()

bool Map::getObjectHitPos ( PhaseShift const &  phaseShift,
float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
float &  rx,
float &  ry,
float &  rz,
float  modifyDist 
)

Definition at line 1793 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetObjectsStore()

MapStoredObjectTypesContainer & Map::GetObjectsStore ( )
inline

Definition at line 422 of file Map.h.

+ Here is the caller graph for this function:

◆ GetOrGenerateZoneDefaultWeather()

Weather * Map::GetOrGenerateZoneDefaultWeather ( uint32  zoneId)

Definition at line 3930 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetOwnerGuildId()

virtual ObjectGuid::LowType Map::GetOwnerGuildId ( uint32  = TEAM_OTHER) const
inlinevirtual

Definition at line 471 of file Map.h.

+ Here is the caller graph for this function:

◆ GetPet()

Pet * Map::GetPet ( ObjectGuid const &  guid)

Definition at line 3494 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPlayer()

Player * Map::GetPlayer ( ObjectGuid const &  guid)

Definition at line 3469 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPlayers()

PlayerList const & Map::GetPlayers ( ) const
inline

Definition at line 367 of file Map.h.

+ Here is the caller graph for this function:

◆ GetPlayersCountExceptGMs()

uint32 Map::GetPlayersCountExceptGMs ( ) const

Definition at line 2681 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetPoolData() [1/2]

SpawnedPoolData & Map::GetPoolData ( )
inline

Definition at line 715 of file Map.h.

+ Here is the caller graph for this function:

◆ GetPoolData() [2/2]

SpawnedPoolData const & Map::GetPoolData ( ) const
inline

Definition at line 716 of file Map.h.

◆ GetRespawnInfo() [1/2]

RespawnInfo * Map::GetRespawnInfo ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId 
) const
private

Definition at line 2140 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetRespawnInfo() [2/2]

void Map::GetRespawnInfo ( std::vector< RespawnInfo const * > &  respawnData,
SpawnObjectTypeMask  types 
) const

Definition at line 2132 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetRespawnMapForType() [1/2]

RespawnInfoMap * Map::GetRespawnMapForType ( SpawnObjectType  type)
inlineprivate

Definition at line 756 of file Map.h.

+ Here is the caller graph for this function:

◆ GetRespawnMapForType() [2/2]

RespawnInfoMap const * Map::GetRespawnMapForType ( SpawnObjectType  type) const
inlineprivate

Definition at line 770 of file Map.h.

◆ GetRespawnTime()

time_t Map::GetRespawnTime ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId 
) const
inline

Definition at line 476 of file Map.h.

+ Here is the caller graph for this function:

◆ GetSceneObject()

SceneObject * Map::GetSceneObject ( ObjectGuid const &  guid)

Definition at line 3459 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetSpawnGroupData()

SpawnGroupTemplateData const * Map::GetSpawnGroupData ( uint32  groupId) const

Definition at line 2340 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetStaticHeight() [1/2]

float Map::GetStaticHeight ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
bool  checkVMap = true,
float  maxSearchDist = DEFAULT_HEIGHT_SEARCH 
)

Definition at line 1757 of file Map.cpp.

+ Here is the call graph for this function:

◆ GetStaticHeight() [2/2]

float Map::GetStaticHeight ( PhaseShift const &  phaseShift,
Position const &  pos,
bool  checkVMap = true,
float  maxSearchDist = DEFAULT_HEIGHT_SEARCH 
)
inline

Definition at line 289 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetTerrain()

TerrainInfo * Map::GetTerrain ( ) const
inline

Definition at line 263 of file Map.h.

+ Here is the caller graph for this function:

◆ GetTransport()

Transport * Map::GetTransport ( ObjectGuid const &  guid)

Definition at line 3499 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetUnloadLock()

bool Map::GetUnloadLock ( GridCoord const &  p) const
inline

Definition at line 243 of file Map.h.

◆ GetVisibilityRange()

float Map::GetVisibilityRange ( ) const
inline

Definition at line 219 of file Map.h.

+ Here is the caller graph for this function:

◆ GetWaterLevel()

float Map::GetWaterLevel ( PhaseShift const &  phaseShift,
float  x,
float  y 
)

Definition at line 1762 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWaterOrGroundLevel()

float Map::GetWaterOrGroundLevel ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
float *  ground = nullptr,
bool  swim = false,
float  collisionHeight = 2.03128f 
)

Definition at line 1777 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWeakPtr()

Trinity::unique_weak_ptr< Map > Map::GetWeakPtr ( ) const
inline

Definition at line 316 of file Map.h.

◆ GetWorldObjectBySpawnId()

WorldObject * Map::GetWorldObjectBySpawnId ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId 
) const
inline

Definition at line 407 of file Map.h.

+ Here is the caller graph for this function:

◆ GetWorldStateValue()

int32 Map::GetWorldStateValue ( int32  worldStateId) const

Definition at line 460 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetWorldStateValues()

WorldStateValueContainer const & Map::GetWorldStateValues ( ) const
inline

Definition at line 826 of file Map.h.

+ Here is the caller graph for this function:

◆ GetZoneAndAreaId() [1/2]

void Map::GetZoneAndAreaId ( PhaseShift const &  phaseShift,
uint32 zoneid,
uint32 areaid,
float  x,
float  y,
float  z 
)

Definition at line 1742 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetZoneAndAreaId() [2/2]

void Map::GetZoneAndAreaId ( PhaseShift const &  phaseShift,
uint32 zoneid,
uint32 areaid,
Position const &  pos 
)
inline

Definition at line 284 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetZoneId() [1/2]

uint32 Map::GetZoneId ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z 
)

Definition at line 1737 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetZoneId() [2/2]

uint32 Map::GetZoneId ( PhaseShift const &  phaseShift,
Position const &  pos 
)
inline

Definition at line 282 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetZoneWeather()

WeatherState Map::GetZoneWeather ( uint32  zoneId) const

Definition at line 3947 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GridMarkNoUnload()

void Map::GridMarkNoUnload ( uint32  x,
uint32  y 
)

Definition at line 382 of file Map.cpp.

+ Here is the call graph for this function:

◆ GridUnmarkNoUnload()

void Map::GridUnmarkNoUnload ( uint32  x,
uint32  y 
)

Definition at line 395 of file Map.cpp.

+ Here is the call graph for this function:

◆ HavePlayers()

bool Map::HavePlayers ( ) const
inline

Definition at line 357 of file Map.h.

+ Here is the caller graph for this function:

◆ InitializeObject() [1/3]

template<>
void Map::InitializeObject ( Creature obj)

Definition at line 538 of file Map.cpp.

◆ InitializeObject() [2/3]

template<>
void Map::InitializeObject ( GameObject obj)

Definition at line 544 of file Map.cpp.

◆ InitializeObject() [3/3]

template<class T >
void Map::InitializeObject ( T *  obj)
private

Definition at line 535 of file Map.cpp.

+ Here is the caller graph for this function:

◆ InitSpawnGroupState()

void Map::InitSpawnGroupState ( )

Definition at line 2488 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InitStateMachine()

void Map::InitStateMachine ( )
static

Definition at line 117 of file Map.cpp.

+ Here is the caller graph for this function:

◆ InitVisibilityDistance()

void Map::InitVisibilityDistance ( )
virtual

Reimplemented in GarrisonMap, InstanceMap, and BattlegroundMap.

Definition at line 169 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ InsertGameObjectModel()

void Map::InsertGameObjectModel ( GameObjectModel const &  model)
inline

Definition at line 463 of file Map.h.

+ Here is the caller graph for this function:

◆ Instanceable()

bool Map::Instanceable ( ) const

Definition at line 3233 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Is25ManRaid()

bool Map::Is25ManRaid ( ) const

Definition at line 3320 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsAlwaysActive()

bool Map::IsAlwaysActive ( ) const

Definition at line 3355 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsBattleArena()

bool Map::IsBattleArena ( ) const

Definition at line 3335 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsBattleground()

bool Map::IsBattleground ( ) const

Definition at line 3330 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsBattlegroundOrArena()

bool Map::IsBattlegroundOrArena ( ) const

Definition at line 3340 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isCellMarked()

bool Map::isCellMarked ( uint32  pCellId)
inline

Definition at line 354 of file Map.h.

+ Here is the caller graph for this function:

◆ IsDungeon()

bool Map::IsDungeon ( ) const

Definition at line 3238 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGarrison()

bool Map::IsGarrison ( ) const

Definition at line 3350 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGridLoaded() [1/4]

bool Map::IsGridLoaded ( float  x,
float  y 
) const
inline

Definition at line 240 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGridLoaded() [2/4]

bool Map::IsGridLoaded ( GridCoord const &  p) const
private

Definition at line 637 of file Map.cpp.

+ Here is the call graph for this function:

◆ IsGridLoaded() [3/4]

bool Map::IsGridLoaded ( Position const &  pos) const
inline

Definition at line 241 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGridLoaded() [4/4]

bool Map::IsGridLoaded ( uint32  gridId) const
inline

Definition at line 239 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isGridObjectDataLoaded()

bool Map::isGridObjectDataLoaded ( uint32  x,
uint32  y 
) const
inlineprivate

Definition at line 598 of file Map.h.

+ Here is the caller graph for this function:

◆ IsHeroic()

bool Map::IsHeroic ( ) const

Definition at line 3282 of file Map.cpp.

+ Here is the caller graph for this function:

◆ IsHeroicOrHigher()

bool Map::IsHeroicOrHigher ( ) const

Definition at line 3315 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isInLineOfSight()

bool Map::isInLineOfSight ( PhaseShift const &  phaseShift,
float  x1,
float  y1,
float  z1,
float  x2,
float  y2,
float  z2,
LineOfSightChecks  checks,
VMAP::ModelIgnoreFlags  ignoreFlags 
) const

Definition at line 1782 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsInWater()

bool Map::IsInWater ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z,
LiquidData data = nullptr 
)

Definition at line 1767 of file Map.cpp.

+ Here is the call graph for this function:

◆ IsLFR()

bool Map::IsLFR ( ) const

Definition at line 3253 of file Map.cpp.

+ Here is the caller graph for this function:

◆ IsMythic()

bool Map::IsMythic ( ) const

Definition at line 3303 of file Map.cpp.

+ Here is the caller graph for this function:

◆ IsMythicPlus()

bool Map::IsMythicPlus ( ) const

Definition at line 3310 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsNonRaidDungeon()

bool Map::IsNonRaidDungeon ( ) const

Definition at line 3243 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsNormal()

bool Map::IsNormal ( ) const

Definition at line 3266 of file Map.cpp.

+ Here is the caller graph for this function:

◆ IsRaid()

bool Map::IsRaid ( ) const

Definition at line 3248 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsRemovalGrid() [1/2]

bool Map::IsRemovalGrid ( float  x,
float  y 
) const
inline

Definition at line 232 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsRemovalGrid() [2/2]

bool Map::IsRemovalGrid ( Position const &  pos) const
inline

Definition at line 237 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsScenario()

bool Map::IsScenario ( ) const

Definition at line 3345 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsSpawnGroupActive()

bool Map::IsSpawnGroupActive ( uint32  groupId) const

Definition at line 2474 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsTimewalking()

bool Map::IsTimewalking ( ) const

Definition at line 3325 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsUnderWater()

bool Map::IsUnderWater ( PhaseShift const &  phaseShift,
float  x,
float  y,
float  z 
)

Definition at line 1772 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadAllCells()

void Map::LoadAllCells ( )

Definition at line 110 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadCorpseData()

void Map::LoadCorpseData ( )

Definition at line 3658 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadGrid()

void Map::LoadGrid ( float  x,
float  y 
)

Definition at line 405 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadGridForActiveObject()

void Map::LoadGridForActiveObject ( float  x,
float  y,
WorldObject const *  object 
)

Definition at line 410 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadGridObjects()

void Map::LoadGridObjects ( NGridType grid,
Cell const &  cell 
)
protectedvirtual

Reimplemented in GarrisonMap.

Definition at line 376 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ LoadRespawnTimes()

void Map::LoadRespawnTimes ( )

Definition at line 3598 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MapObjectCellRelocation()

template<typename T >
bool Map::MapObjectCellRelocation ( T *  object,
Cell  new_cell,
char const *  objType 
)
private

Definition at line 1457 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ markCell()

void Map::markCell ( uint32  pCellId)
inline

Definition at line 355 of file Map.h.

+ Here is the caller graph for this function:

◆ MoveAllAreaTriggersInMoveList()

void Map::MoveAllAreaTriggersInMoveList ( )

Definition at line 1417 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MoveAllCreaturesInMoveList()

void Map::MoveAllCreaturesInMoveList ( )
Todo:
pets will disappear if this is outside CreatureRespawnRelocation

Definition at line 1277 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MoveAllDynamicObjectsInMoveList()

void Map::MoveAllDynamicObjectsInMoveList ( )

Definition at line 1378 of file Map.cpp.

+ Here is the call graph for this function:

◆ MoveAllGameObjectsInMoveList()

void Map::MoveAllGameObjectsInMoveList ( )

Definition at line 1334 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PlayerCannotEnter()

TransferAbortParams Map::PlayerCannotEnter ( uint32  mapid,
Player player 
)
static

Definition at line 1807 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PlayerRelocation()

void Map::PlayerRelocation ( Player player,
float  x,
float  y,
float  z,
float  orientation 
)

Definition at line 1053 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProcessRelocationNotifies()

void Map::ProcessRelocationNotifies ( const uint32  diff)
private

Definition at line 868 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProcessRespawns()

void Map::ProcessRespawns ( )

Definition at line 2224 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveAllObjectsInRemoveList()

void Map::RemoveAllObjectsInRemoveList ( )

Definition at line 2607 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveAllPlayers()

void Map::RemoveAllPlayers ( )
virtual

Reimplemented in BattlegroundMap.

Definition at line 1667 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveAreaTriggerFromMoveList()

void Map::RemoveAreaTriggerFromMoveList ( AreaTrigger at)
private

Definition at line 1268 of file Map.cpp.

+ Here is the caller graph for this function:

◆ RemoveCorpse()

void Map::RemoveCorpse ( Corpse corpse)

Definition at line 3762 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveCreatureFromMoveList()

void Map::RemoveCreatureFromMoveList ( Creature c)
private

Definition at line 1211 of file Map.cpp.

+ Here is the caller graph for this function:

◆ RemoveDynamicObjectFromMoveList()

void Map::RemoveDynamicObjectFromMoveList ( DynamicObject go)
private

Definition at line 1249 of file Map.cpp.

+ Here is the caller graph for this function:

◆ RemoveForceDisabledNavMeshFilterFlag()

void Map::RemoveForceDisabledNavMeshFilterFlag ( uint16  flag)
inline

Definition at line 274 of file Map.h.

◆ RemoveForceEnabledNavMeshFilterFlag()

void Map::RemoveForceEnabledNavMeshFilterFlag ( uint16  flag)
inline

Definition at line 270 of file Map.h.

◆ RemoveFromActive()

void Map::RemoveFromActive ( WorldObject obj)

Definition at line 2772 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveFromActiveHelper()

void Map::RemoveFromActiveHelper ( WorldObject obj)
inlineprivate

Definition at line 737 of file Map.h.

+ Here is the caller graph for this function:

◆ RemoveFromMap() [1/2]

template<class T >
void Map::RemoveFromMap ( T *  obj,
bool  remove 
)

Definition at line 972 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveFromMap() [2/2]

template<>
void Map::RemoveFromMap ( Transport obj,
bool  remove 
)

Definition at line 993 of file Map.cpp.

+ Here is the call graph for this function:

◆ RemoveGameObjectFromMoveList()

void Map::RemoveGameObjectFromMoveList ( GameObject go)
private

Definition at line 1230 of file Map.cpp.

+ Here is the caller graph for this function:

◆ RemoveGameObjectModel()

void Map::RemoveGameObjectModel ( GameObjectModel const &  model)
inline

Definition at line 462 of file Map.h.

+ Here is the caller graph for this function:

◆ RemoveInfiniteAOIVignette()

void Map::RemoveInfiniteAOIVignette ( Vignettes::VignetteData vignette)

Definition at line 515 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveOldCorpses()

void Map::RemoveOldCorpses ( )

Definition at line 3839 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemovePlayerFromMap()

void Map::RemovePlayerFromMap ( Player player,
bool  remove 
)
virtual

Reimplemented in InstanceMap, and BattlegroundMap.

Definition at line 945 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ RemoveRespawnTime()

void Map::RemoveRespawnTime ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId,
CharacterDatabaseTransaction  dbTrans = nullptr,
bool  alwaysDeleteFromDB = false 
)
inline

Definition at line 687 of file Map.h.

+ Here is the caller graph for this function:

◆ RemoveUpdateObject()

void Map::RemoveUpdateObject ( Object obj)
inline

Definition at line 537 of file Map.h.

+ Here is the caller graph for this function:

◆ RemoveWorldObject()

void Map::RemoveWorldObject ( WorldObject obj)
inline

Definition at line 362 of file Map.h.

+ Here is the caller graph for this function:

◆ ResetGridExpiry()

void Map::ResetGridExpiry ( NGridType grid,
float  factor = 1 
) const
inline

Definition at line 253 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ resetMarkedCells()

void Map::resetMarkedCells ( )
inline

Definition at line 353 of file Map.h.

+ Here is the caller graph for this function:

◆ Respawn() [1/2]

void Map::Respawn ( RespawnInfo info,
CharacterDatabaseTransaction  dbTrans = nullptr 
)
private

Definition at line 2058 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Respawn() [2/2]

void Map::Respawn ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId,
CharacterDatabaseTransaction  dbTrans = nullptr 
)
inline

Definition at line 682 of file Map.h.

◆ SaveRespawnInfoDB()

void Map::SaveRespawnInfoDB ( RespawnInfo const &  info,
CharacterDatabaseTransaction  dbTrans = nullptr 
)

Definition at line 3584 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SaveRespawnTime()

void Map::SaveRespawnTime ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId,
uint32  entry,
time_t  respawnTime,
uint32  gridId,
CharacterDatabaseTransaction  dbTrans = nullptr,
bool  startup = false 
)

Definition at line 3551 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ScriptCommandStart()

void Map::ScriptCommandStart ( ScriptInfo const &  script,
uint32  delay,
Object source,
Object target 
)
  • If effects should be immediate, launch the script execution

Definition at line 72 of file MapScripts.cpp.

+ Here is the call graph for this function:

◆ ScriptsProcess()

void Map::ScriptsProcess ( )
private

Process queued scripts.

  • Process overdue queued scripts

Definition at line 311 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ScriptsStart()

void Map::ScriptsStart ( std::map< uint32, std::multimap< uint32, ScriptInfo > > const &  scripts,
uint32  id,
Object source,
Object target 
)

Put scripts in the execution queue.

  • Find the script map
  • Schedule script execution for all scripts in the script map
  • If one of the effects should be immediate, launch the script execution

Definition at line 34 of file MapScripts.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendInitSelf()

void Map::SendInitSelf ( Player player)
private

Definition at line 1859 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendInitTransports()

void Map::SendInitTransports ( Player player)

Definition at line 1886 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendObjectUpdates()

void Map::SendObjectUpdates ( )
private

Definition at line 1962 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendRemoveTransports()

void Map::SendRemoveTransports ( Player player)

Definition at line 1904 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendToPlayers()

void Map::SendToPlayers ( WorldPacket const *  data) const

Definition at line 2690 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendUpdateTransportVisibility()

void Map::SendUpdateTransportVisibility ( Player player)

Definition at line 1922 of file Map.cpp.

+ Here is the call graph for this function:

◆ SendZoneDynamicInfo()

void Map::SendZoneDynamicInfo ( uint32  zoneId,
Player player 
) const

Definition at line 3865 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendZoneWeather() [1/2]

void Map::SendZoneWeather ( uint32  zoneId,
Player player 
) const

Definition at line 3886 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SendZoneWeather() [2/2]

void Map::SendZoneWeather ( ZoneDynamicInfo const &  zoneDynamicInfo,
Player player 
) const

Definition at line 3898 of file Map.cpp.

+ Here is the call graph for this function:

◆ SetForceDisabledNavMeshFilterFlag()

void Map::SetForceDisabledNavMeshFilterFlag ( uint16  flag)
inline

Definition at line 273 of file Map.h.

◆ SetForceEnabledNavMeshFilterFlag()

void Map::SetForceEnabledNavMeshFilterFlag ( uint16  flag)
inline

Definition at line 269 of file Map.h.

◆ setGridObjectDataLoaded()

void Map::setGridObjectDataLoaded ( bool  pLoaded,
uint32  x,
uint32  y 
)
inlineprivate

Definition at line 599 of file Map.h.

+ Here is the caller graph for this function:

◆ setNGrid()

void Map::setNGrid ( NGridType grid,
uint32  x,
uint32  y 
)
inlineprivate

Definition at line 1952 of file Map.cpp.

+ Here is the caller graph for this function:

◆ SetSpawnGroupActive()

void Map::SetSpawnGroupActive ( uint32  groupId,
bool  state 
)
private

Definition at line 2460 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetSpawnGroupInactive()

void Map::SetSpawnGroupInactive ( uint32  groupId)
inline

Definition at line 713 of file Map.h.

+ Here is the caller graph for this function:

◆ SetTimer()

void Map::SetTimer ( uint32  t)
inlineprivate

Definition at line 551 of file Map.h.

◆ SetUnloadLock()

void Map::SetUnloadLock ( GridCoord const &  p,
bool  on 
)
inline

Definition at line 244 of file Map.h.

◆ SetWeakPtr()

void Map::SetWeakPtr ( Trinity::unique_weak_ptr< Map weakRef)
inline

Definition at line 317 of file Map.h.

+ Here is the caller graph for this function:

◆ SetWorldStateValue()

void Map::SetWorldStateValue ( int32  worldStateId,
int32  value,
bool  hidden 
)

Definition at line 468 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetZoneMusic()

void Map::SetZoneMusic ( uint32  zoneId,
uint32  musicId 
)

Definition at line 3913 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetZoneOverrideLight()

void Map::SetZoneOverrideLight ( uint32  zoneId,
uint32  areaLightId,
uint32  overrideLightId,
Milliseconds  transitionTime 
)

Definition at line 3981 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SetZoneWeather()

void Map::SetZoneWeather ( uint32  zoneId,
WeatherState  weatherId,
float  intensity 
)

Definition at line 3962 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShouldBeSpawnedOnGridLoad() [1/2]

template<typename T >
bool Map::ShouldBeSpawnedOnGridLoad ( ObjectGuid::LowType  spawnId) const
inline

Definition at line 698 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ShouldBeSpawnedOnGridLoad() [2/2]

bool Map::ShouldBeSpawnedOnGridLoad ( SpawnObjectType  type,
ObjectGuid::LowType  spawnId 
) const

Definition at line 2319 of file Map.cpp.

+ Here is the call graph for this function:

◆ SpawnGroupDespawn()

bool Map::SpawnGroupDespawn ( uint32  groupId,
bool  deleteRespawnTimes = false,
size_t *  count = nullptr 
)

Definition at line 2437 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SpawnGroupSpawn()

bool Map::SpawnGroupSpawn ( uint32  groupId,
bool  ignoreRespawn = false,
bool  force = false,
std::vector< WorldObject * > *  spawnedObjects = nullptr 
)

Definition at line 2348 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SummonCreature()

TempSummon * Map::SummonCreature ( uint32  entry,
Position const &  pos,
SummonPropertiesEntry const *  properties = nullptr,
Milliseconds  duration = 0ms,
WorldObject summoner = nullptr,
uint32  spellId = 0,
uint32  vehId = 0,
ObjectGuid  privateObjectOwner = ObjectGuid::Empty,
SmoothPhasingInfo const *  smoothPhasingInfo = nullptr 
)

Definition at line 1836 of file Object.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SummonCreatureGroup()

void Map::SummonCreatureGroup ( uint8  group,
std::list< TempSummon * > *  list = nullptr 
)

Summons group of creatures.

Parameters
groupId of group to summon.
listList to store pointers to summoned creatures.

Definition at line 1980 of file Object.cpp.

+ Here is the call graph for this function:

◆ SwitchGridContainers() [1/2]

template<>
void Map::SwitchGridContainers ( Creature obj,
bool  on 
)

Definition at line 252 of file Map.cpp.

+ Here is the call graph for this function:

◆ SwitchGridContainers() [2/2]

template<class T >
void Map::SwitchGridContainers ( T *  obj,
bool  on 
)

Definition at line 249 of file Map.cpp.

◆ ToBattlegroundMap() [1/2]

BattlegroundMap * Map::ToBattlegroundMap ( )
inline

Definition at line 457 of file Map.h.

+ Here is the caller graph for this function:

◆ ToBattlegroundMap() [2/2]

BattlegroundMap const * Map::ToBattlegroundMap ( ) const
inline

Definition at line 458 of file Map.h.

◆ ToInstanceMap() [1/2]

InstanceMap * Map::ToInstanceMap ( )
inline

Definition at line 454 of file Map.h.

+ Here is the caller graph for this function:

◆ ToInstanceMap() [2/2]

InstanceMap const * Map::ToInstanceMap ( ) const
inline

Definition at line 455 of file Map.h.

◆ UnloadAll()

void Map::UnloadAll ( )

Definition at line 1684 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UnloadAllRespawnInfos()

void Map::UnloadAllRespawnInfos ( )
private

Definition at line 2151 of file Map.cpp.

+ Here is the caller graph for this function:

◆ UnloadGrid()

bool Map::UnloadGrid ( NGridType ngrid,
bool  pForce 
)

Definition at line 1599 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Update()

void Map::Update ( uint32  t_diff)
virtual

update worldsessions for existing players

process any due respawns

update active cells around players and active objects

  • Process necessary scripts

Reimplemented in InstanceMap.

Definition at line 686 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateAreaDependentAuras()

void Map::UpdateAreaDependentAuras ( )

Definition at line 4015 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateIteratorBack()

void Map::UpdateIteratorBack ( Player player)

Definition at line 3545 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePersonalPhasesForPlayer()

void Map::UpdatePersonalPhasesForPlayer ( Player const *  player)

Definition at line 454 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdatePlayerZoneStats()

void Map::UpdatePlayerZoneStats ( uint32  oldZone,
uint32  newZone 
)

Definition at line 671 of file Map.cpp.

+ Here is the caller graph for this function:

◆ UpdateSpawnGroupConditions()

void Map::UpdateSpawnGroupConditions ( )

Definition at line 2504 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Visit()

template<class T , class CONTAINER >
void Map::Visit ( Cell const &  cell,
TypeContainerVisitor< T, CONTAINER > &  visitor 
)
inline

Definition at line 921 of file Map.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ VisitNearbyCellsOf()

void Map::VisitNearbyCellsOf ( WorldObject obj,
TypeContainerVisitor< Trinity::ObjectUpdater, GridTypeMapContainer > &  gridVisitor,
TypeContainerVisitor< Trinity::ObjectUpdater, WorldTypeMapContainer > &  worldVisitor 
)

Definition at line 642 of file Map.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Function Documentation

◆ MapReference

friend class MapReference
friend

Definition at line 190 of file Map.h.

Member Data Documentation

◆ _areaTriggerBySpawnIdStore

AreaTriggerBySpawnIdContainer Map::_areaTriggerBySpawnIdStore
private

Definition at line 801 of file Map.h.

◆ _areaTriggersToMove

std::vector<AreaTrigger*> Map::_areaTriggersToMove
private

Definition at line 583 of file Map.h.

◆ _areaTriggersToMoveLock

bool Map::_areaTriggersToMoveLock
private

Definition at line 582 of file Map.h.

◆ _corpseBones

std::unordered_set<Corpse*> Map::_corpseBones
private

Definition at line 804 of file Map.h.

◆ _corpsesByCell

std::unordered_map<uint32, std::unordered_set<Corpse*> > Map::_corpsesByCell
private

Definition at line 802 of file Map.h.

◆ _corpsesByPlayer

std::unordered_map<ObjectGuid, Corpse*> Map::_corpsesByPlayer
private

Definition at line 803 of file Map.h.

◆ _creatureBySpawnIdStore

CreatureBySpawnIdContainer Map::_creatureBySpawnIdStore
private

Definition at line 799 of file Map.h.

◆ _creatureRespawnTimesBySpawnId

RespawnInfoMap Map::_creatureRespawnTimesBySpawnId
private

Definition at line 754 of file Map.h.

◆ _creaturesToMove

std::vector<Creature*> Map::_creaturesToMove
private

Definition at line 574 of file Map.h.

◆ _creatureToMoveLock

bool Map::_creatureToMoveLock
private

Definition at line 573 of file Map.h.

◆ _dynamicObjectsToMove

std::vector<DynamicObject*> Map::_dynamicObjectsToMove
private

Definition at line 580 of file Map.h.

◆ _dynamicObjectsToMoveLock

bool Map::_dynamicObjectsToMoveLock
private

Definition at line 579 of file Map.h.

◆ _dynamicTree

DynamicMapTree Map::_dynamicTree
protected

Definition at line 615 of file Map.h.

◆ _farSpellCallbacks

MPSCQueue<FarSpellCallback> Map::_farSpellCallbacks
private

Definition at line 808 of file Map.h.

◆ _gameobjectBySpawnIdStore

GameObjectBySpawnIdContainer Map::_gameobjectBySpawnIdStore
private

Definition at line 800 of file Map.h.

◆ _gameObjectRespawnTimesBySpawnId

RespawnInfoMap Map::_gameObjectRespawnTimesBySpawnId
private

Definition at line 755 of file Map.h.

◆ _gameObjectsToMove

std::vector<GameObject*> Map::_gameObjectsToMove
private

Definition at line 577 of file Map.h.

◆ _gameObjectsToMoveLock

bool Map::_gameObjectsToMoveLock
private

Definition at line 576 of file Map.h.

◆ _guidGenerators

std::map<HighGuid, std::unique_ptr<ObjectGuidGenerator> > Map::_guidGenerators
private

Definition at line 796 of file Map.h.

◆ _infiniteAOIVignettes

std::vector<Vignettes::VignetteData*> Map::_infiniteAOIVignettes
private

Definition at line 840 of file Map.h.

◆ _multiPersonalPhaseTracker

MultiPersonalPhaseTracker Map::_multiPersonalPhaseTracker
private

Definition at line 818 of file Map.h.

◆ _objectsStore

MapStoredObjectTypesContainer Map::_objectsStore
private

Definition at line 798 of file Map.h.

◆ _poolData

std::unique_ptr<SpawnedPoolData> Map::_poolData
private

Definition at line 797 of file Map.h.

◆ _respawnCheckTimer

uint32 Map::_respawnCheckTimer
private

Definition at line 788 of file Map.h.

◆ _respawnTimes

std::unique_ptr<RespawnListContainer> Map::_respawnTimes
private

Definition at line 753 of file Map.h.

◆ _toggledSpawnGroupIds

std::unordered_set<uint32> Map::_toggledSpawnGroupIds
private

Definition at line 786 of file Map.h.

◆ _transports

TransportsContainer Map::_transports
protected

Definition at line 628 of file Map.h.

◆ _transportsUpdateIter

TransportsContainer::iterator Map::_transportsUpdateIter
protected

Definition at line 629 of file Map.h.

◆ _updateObjects

std::unordered_set<Object*> Map::_updateObjects
private

Definition at line 806 of file Map.h.

◆ _vignetteUpdateTimer

PeriodicTimer Map::_vignetteUpdateTimer
private

Definition at line 841 of file Map.h.

◆ _weatherUpdateTimer

IntervalTimer Map::_weatherUpdateTimer
private

Definition at line 792 of file Map.h.

◆ _worldStateValues

WorldStateValueContainer Map::_worldStateValues
private

Definition at line 829 of file Map.h.

◆ _zoneDynamicInfo

ZoneDynamicInfoMap Map::_zoneDynamicInfo
private

Definition at line 791 of file Map.h.

◆ _zonePlayerCountMap

std::unordered_map<uint32, uint32> Map::_zonePlayerCountMap
private

Definition at line 789 of file Map.h.

◆ CreatureGroupHolder

std::unordered_map<ObjectGuid::LowType , CreatureGroup*> Map::CreatureGroupHolder

Definition at line 388 of file Map.h.

◆ i_gridExpiry

time_t Map::i_gridExpiry
private

Definition at line 642 of file Map.h.

◆ i_grids

Definition at line 648 of file Map.h.

◆ i_InstanceId

uint32 Map::i_InstanceId
protected

Definition at line 611 of file Map.h.

◆ i_mapEntry

MapEntry const* Map::i_mapEntry
protected

Definition at line 609 of file Map.h.

◆ i_objectsToRemove

std::set<WorldObject*> Map::i_objectsToRemove
private

Definition at line 656 of file Map.h.

◆ i_objectsToSwitch

std::map<WorldObject*, bool> Map::i_objectsToSwitch
private

Definition at line 657 of file Map.h.

◆ i_scriptLock

bool Map::i_scriptLock
private

Definition at line 655 of file Map.h.

◆ i_spawnMode

Difficulty Map::i_spawnMode
protected

Definition at line 610 of file Map.h.

◆ i_worldObjects

std::set<WorldObject*> Map::i_worldObjects
private

Definition at line 658 of file Map.h.

◆ m_activeNonPlayers

ActiveNonPlayers Map::m_activeNonPlayers
protected

Definition at line 623 of file Map.h.

◆ m_activeNonPlayersIter

ActiveNonPlayers::iterator Map::m_activeNonPlayersIter
protected

Definition at line 624 of file Map.h.

◆ m_forceDisabledNavMeshFilterFlags

uint16 Map::m_forceDisabledNavMeshFilterFlags
private

Definition at line 646 of file Map.h.

◆ m_forceEnabledNavMeshFilterFlags

uint16 Map::m_forceEnabledNavMeshFilterFlags
private

Definition at line 645 of file Map.h.

◆ m_mapRefIter

MapRefManager::iterator Map::m_mapRefIter
protected

Definition at line 618 of file Map.h.

◆ m_mapRefManager

MapRefManager Map::m_mapRefManager
protected

Definition at line 617 of file Map.h.

◆ m_scriptSchedule

ScriptScheduleMap Map::m_scriptSchedule
private

Definition at line 661 of file Map.h.

◆ m_terrain

std::shared_ptr<TerrainInfo> Map::m_terrain
private

Definition at line 644 of file Map.h.

◆ m_unloadTimer

uint32 Map::m_unloadTimer
protected

Definition at line 613 of file Map.h.

◆ m_VisibilityNotifyPeriod

int32 Map::m_VisibilityNotifyPeriod
protected

Definition at line 620 of file Map.h.

◆ m_VisibleDistance

float Map::m_VisibleDistance
protected

Definition at line 614 of file Map.h.

◆ m_weakRef

Trinity::unique_weak_ptr<Map> Map::m_weakRef
protected

Definition at line 612 of file Map.h.

◆ marked_cells

std::bitset<TOTAL_NUMBER_OF_CELLS_PER_MAP*TOTAL_NUMBER_OF_CELLS_PER_MAP> Map::marked_cells
private

Definition at line 649 of file Map.h.


The documentation for this class was generated from the following files: