19 #ifndef TRINITY_MAP_INSTANCED_H
20 #define TRINITY_MAP_INSTANCED_H
47 InstancedMaps::const_iterator i = m_InstancedMaps.find(instanceId);
48 return(i == m_InstancedMaps.end() ?
nullptr : i->second);
50 bool DestroyInstance(InstancedMaps::iterator &itr);
Definition: MapInstanced.h:28
Difficulty
Definition: DBCEnums.h:402
Map * FindInstanceMap(uint32 instanceId) const
Definition: MapInstanced.h:45
virtual void InitVisibilityDistance()
Definition: Map.cpp:253
InstancedMaps & GetInstancedMaps()
Definition: MapInstanced.h:65
#define MAX_NUMBER_OF_GRIDS
Definition: GridDefines.h:37
void SetUnloadReferenceLock(const GridCoord &p, bool on)
Definition: Map.h:634
Definition: GarrisonMap.h:26
uint32 y_coord
Definition: GridDefines.h:156
uint32 x_coord
Definition: GridDefines.h:155
void RemoveGridMapReference(GridCoord const &p)
Definition: MapInstanced.h:58
std::unordered_map< uint32, Map * > InstancedMaps
Definition: MapInstanced.h:32
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
Definition: GridDefines.h:89
virtual void Update(const uint32)
Definition: Map.cpp:682
Definition: InstanceSaveMgr.h:44
virtual void UnloadAll()
Definition: Map.cpp:1614
Definition: MapManager.h:31
#define TC_GAME_API
Definition: Define.h:134
virtual void DelayedUpdate(const uint32 diff)
Definition: Map.cpp:2774
Definition: Battleground.h:235
InstancedMaps m_InstancedMaps
Definition: MapInstanced.h:73
virtual EnterState CannotEnter(Player *)
Definition: Map.h:386
CoordPair< MAX_NUMBER_OF_GRIDS > GridCoord
Definition: GridDefines.h:171
~MapInstanced()
Definition: MapInstanced.h:35
void AddGridMapReference(const GridCoord &p)
Definition: MapInstanced.h:52