![]() |
TrinityCore
|
#include <Map.h>
Static Public Member Functions | |
| static bool | ExistMap (uint32 mapid, int gx, int gy) |
| static bool | ExistVMap (uint32 mapid, int gx, int gy) |
| static void | InitStateMachine () |
| static void | DeleteStateMachine () |
| static void | DeleteRespawnTimesInDB (uint16 mapId, uint32 instanceId) |
Public Attributes | |
| CreatureGroupHolderType | CreatureGroupHolder |
Protected Types | |
| typedef std::set< WorldObject * > | ActiveNonPlayers |
| typedef std::set< Transport * > | TransportsContainer |
Protected Member Functions | |
| void | SetUnloadReferenceLock (const GridCoord &p, bool on) |
| virtual void | LoadGridObjects (NGridType *grid, Cell const &cell) |
Protected Attributes | |
| std::mutex | _mapLock |
| std::mutex | _gridLock |
| MapEntry const * | i_mapEntry |
| uint8 | i_spawnMode |
| uint32 | i_InstanceId |
| 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, ScriptAction > | ScriptScheduleMap |
Friends | |
| class | MapReference |
|
protected |
| typedef std::unordered_multimap<ObjectGuid::LowType, Creature*> Map::CreatureBySpawnIdContainer |
| typedef std::unordered_multimap<ObjectGuid::LowType, GameObject*> Map::GameObjectBySpawnIdContainer |
| typedef MapRefManager Map::PlayerList |
|
private |
|
protected |
| enum Map::EnterState |
Here is the call graph for this function:
|
virtual |
Here is the call graph for this function:
|
inlineprivate |
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::AddCorpse | ( | Corpse * | corpse | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:| void Map::AddObjectToRemoveList | ( | WorldObject * | obj | ) |
| void Map::AddObjectToSwitchList | ( | WorldObject * | obj, |
| bool | on | ||
| ) |
Reimplemented in BattlegroundMap, InstanceMap, and GarrisonMap.
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::AddToActive | ( | T * | obj | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::AddToActive | ( | Creature * | c | ) |
Here is the call graph for this function:| void Map::AddToActive | ( | DynamicObject * | d | ) |
Here is the call graph for this function:
|
inlineprivate |
Here is the caller graph for this function:
Here is the call graph for this function:| void Map::AddToGrid | ( | GameObject * | obj, |
| Cell const & | cell | ||
| ) |
Here is the call graph for this function:| void Map::AddToGrid | ( | DynamicObject * | obj, |
| Cell const & | cell | ||
| ) |
Here is the call graph for this function:
Here is the call graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| bool Map::AddToMap | ( | T * | obj | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinevirtual |
Reimplemented in BattlegroundMap, InstanceMap, and MapInstanced.
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| Corpse * Map::ConvertCorpseToBones | ( | ObjectGuid const & | ownerGuid, |
| bool | insignia = false |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::CreatureRelocation | ( | Creature * | creature, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | ang, | ||
| bool | respawnRelocationOnFail = true |
||
| ) |
If hovering, always increase our server-side Z position Client automatically projects correct position based on Z coord sent in monster move and UNIT_FIELD_HOVERHEIGHT sent in object updates
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in MapInstanced.
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::DeleteCorpseData | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::DeleteFromWorld | ( | Player * | player | ) |
Here is the call graph for this function:| void Map::DeleteFromWorld | ( | Transport * | transport | ) |
Here is the call graph for this function:
|
private |
| void Map::DeleteRespawnTimes | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::DynamicObjectRelocation | ( | DynamicObject * | go, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | orientation | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::GameObjectRelocation | ( | GameObject * | go, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | orientation, | ||
| bool | respawnRelocationOnFail = true |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Map::GameObjectRespawnRelocation | ( | GameObject * | go, |
| bool | diffGridOnly | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 Map::GetAreaId | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | const |
Here is the call graph for this function:| bool Map::GetAreaInfo | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint32 & | mogpflags, | ||
| int32 & | adtId, | ||
| int32 & | rootId, | ||
| int32 & | groupId | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| AreaTrigger * Map::GetAreaTrigger | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| Corpse * Map::GetCorpse | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:| Creature * Map::GetCreature | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| uint32 Map::GetDifficultyLootBonusTreeMod | ( | ) | const |
Here is the call graph for this function:| DynamicObject * Map::GetDynamicObject | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:| GameObject * Map::GetGameObject | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inlineprivate |
Here is the call graph for this function:| float Map::GetHeight | ( | float | x, |
| float | y, | ||
| float | z, | ||
| bool | checkVMap = true, |
||
| float | maxSearchDist = DEFAULT_HEIGHT_SEARCH |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| float Map::GetHeight | ( | uint32 | phasemask, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| bool | vmap = true, |
||
| float | maxSearchDist = DEFAULT_HEIGHT_SEARCH |
||
| ) | const |
Here is the call graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:| time_t Map::GetLinkedRespawnTime | ( | ObjectGuid | guid | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| ZLiquidStatus Map::getLiquidStatus | ( | float | x, |
| float | y, | ||
| float | z, | ||
| uint8 | ReqLiquidType, | ||
| LiquidData * | data = nullptr |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| MapDifficultyEntry const * Map::GetMapDifficulty | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| char const * Map::GetMapName | ( | ) | const |
Here is the caller graph for this function:| float Map::GetMinHeight | ( | float | x, |
| float | y | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Map::getObjectHitPos | ( | uint32 | phasemask, |
| float | x1, | ||
| float | y1, | ||
| float | z1, | ||
| float | x2, | ||
| float | y2, | ||
| float | z2, | ||
| float & | rx, | ||
| float & | ry, | ||
| float & | rz, | ||
| float | modifyDist | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inlinevirtual |
Here is the caller graph for this function:| Pet * Map::GetPet | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| uint32 Map::GetPlayersCountExceptGMs | ( | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| uint8 Map::GetTerrainType | ( | float | x, |
| float | y | ||
| ) | const |
Here is the call graph for this function:| Transport * Map::GetTransport | ( | ObjectGuid const & | guid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| float Map::GetWaterLevel | ( | float | x, |
| float | y | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| float Map::GetWaterOrGroundLevel | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float * | ground = NULL, |
||
| bool | swim = false |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| uint32 Map::GetZoneId | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Map::InitializeObject | ( | Creature * | obj | ) |
| void Map::InitializeObject | ( | GameObject * | obj | ) |
|
private |
|
static |
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundMap, InstanceMap, MapInstanced, and GarrisonMap.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| bool Map::IsHeroic | ( | ) | const |
Here is the caller graph for this function:| bool Map::isInLineOfSight | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | x2, | ||
| float | y2, | ||
| float | z2, | ||
| uint32 | phasemask | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Map::IsInWater | ( | float | x, |
| float | y, | ||
| float | z, | ||
| LiquidData * | data = nullptr |
||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
| bool Map::IsOutdoors | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:| bool Map::IsUnderWater | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::LoadCorpseData | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::LoadGrid | ( | float | x, |
| float | y | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in GarrisonMap.
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::LoadRespawnTimes | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Map::MoveAllCreaturesInMoveList | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::MoveAllDynamicObjectsInMoveList | ( | ) |
Here is the call graph for this function:| void Map::MoveAllGameObjectsInMoveList | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::PlayerRelocation | ( | Player * | player, |
| float | x, | ||
| float | y, | ||
| float | z, | ||
| float | orientation | ||
| ) |
If hovering, always increase our server-side Z position Client automatically projects correct position based on Z coord sent in monster move and UNIT_FIELD_HOVERHEIGHT sent in object updates
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::RemoveAllObjectsInRemoveList | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in BattlegroundMap.
Here is the call graph for this function:| void Map::RemoveCorpse | ( | Corpse * | corpse | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:| void Map::RemoveCreatureRespawnTime | ( | ObjectGuid::LowType | dbGuid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the caller graph for this function:| void Map::RemoveFromActive | ( | T * | obj | ) |
| void Map::RemoveFromActive | ( | Creature * | c | ) |
Here is the call graph for this function:| void Map::RemoveFromActive | ( | DynamicObject * | obj | ) |
Here is the call graph for this function:
|
inlineprivate |
Here is the caller graph for this function:| void Map::RemoveFromMap | ( | T * | obj, |
| bool | remove | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
|
private |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Map::RemoveGORespawnTime | ( | ObjectGuid::LowType | dbGuid | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::RemoveOldCorpses | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:Reimplemented in BattlegroundMap, and InstanceMap.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the caller graph for this function:| void Map::SaveCreatureRespawnTime | ( | ObjectGuid::LowType | dbGuid, |
| time_t | respawnTime | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::SaveGORespawnTime | ( | ObjectGuid::LowType | dbGuid, |
| time_t | respawnTime | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::ScriptCommandStart | ( | ScriptInfo const & | script, |
| uint32 | delay, | ||
| Object * | source, | ||
| Object * | target | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Process queued scripts.
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::ScriptsStart | ( | std::map< uint32, std::multimap< uint32, ScriptInfo > > const & | scripts, |
| uint32 | id, | ||
| Object * | source, | ||
| Object * | target | ||
| ) |
Put scripts in the execution queue.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::SendInitTransports | ( | Player * | player | ) |
Here is the caller graph for this function:
|
private |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::SendRemoveTransports | ( | Player * | player | ) |
Here is the caller graph for this function:| void Map::SendToPlayers | ( | WorldPacket const * | data | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::SendUpdateTransportVisibility | ( | Player * | player, |
| std::set< uint32 > const & | previousPhases | ||
| ) |
Here is the call graph for this function:| void Map::SendZoneDynamicInfo | ( | Player * | player | ) |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::SetZoneWeather | ( | uint32 | zoneId, |
| WeatherState | weatherId, | ||
| float | weatherGrade | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| TempSummon * Map::SummonCreature | ( | uint32 | entry, |
| Position const & | pos, | ||
| SummonPropertiesEntry const * | properties = NULL, |
||
| uint32 | duration = 0, |
||
| Unit * | summoner = NULL, |
||
| uint32 | spellId = 0, |
||
| uint32 | vehId = 0 |
||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::SummonCreatureGroup | ( | uint8 | group, |
| std::list< TempSummon * > * | list = NULL |
||
| ) |
Summons group of creatures.
| group | Id of group to summon. |
| list | List to store pointers to summoned creatures. |
Here is the call graph for this function:
Here is the call graph for this function:| void Map::SwitchGridContainers | ( | GameObject * | obj, |
| bool | on | ||
| ) |
Here is the call graph for this function:| void Map::SwitchGridContainers | ( | T * | obj, |
| bool | on | ||
| ) |
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
|
inline |
Here is the caller graph for this function:
|
inline |
|
virtual |
Reimplemented in InstanceMap, and MapInstanced.
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:update worldsessions for existing players
update active cells around players and active objects
Reimplemented in InstanceMap, and MapInstanced.
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::UpdateAreaDependentAuras | ( | ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void Map::UpdateIteratorBack | ( | Player * | player | ) |
Here is the call graph for this function:
Here is the call graph for this function:| void Map::UpdateObjectVisibility | ( | WorldObject * | obj, |
| Cell | cell, | ||
| CellCoord | cellpair | ||
| ) |
Here is the call graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:| void Map::VisitNearbyCellsOf | ( | WorldObject * | obj, |
| TypeContainerVisitor< Trinity::ObjectUpdater, GridTypeMapContainer > & | gridVisitor, | ||
| TypeContainerVisitor< Trinity::ObjectUpdater, WorldTypeMapContainer > & | worldVisitor | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Here is the call graph for this function:
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
private |
|
private |
| CreatureGroupHolderType Map::CreatureGroupHolder |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
private |
|
private |
|
protected |
|
private |
|
protected |
|
protected |
|
protected |
|
protected |
|
private |
|
private |
|
protected |
|
protected |
|
protected |
|
private |
1.8.8