|
| 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 |
|
TerrainInfo * | GetTerrain () const |
|
void | GetFullTerrainStatusForPosition (PhaseShift const &phaseShift, float x, float y, float z, PositionFullTerrainStatus &data, map_liquidHeaderTypeFlags reqLiquidType=map_liquidHeaderTypeFlags::AllLiquids, float collisionHeight=2.03128f) |
|
ZLiquidStatus | GetLiquidStatus (PhaseShift const &phaseShift, float x, float y, float z, map_liquidHeaderTypeFlags ReqLiquidType, LiquidData *data=nullptr, float collisionHeight=2.03128f) |
|
bool | GetAreaInfo (PhaseShift const &phaseShift, float x, float y, float z, uint32 &mogpflags, int32 &adtId, int32 &rootId, int32 &groupId) |
|
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 |
|
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 | IsHeroic () const |
|
bool | Is25ManRaid () const |
|
bool | IsBattleground () const |
|
bool | IsBattleArena () const |
|
bool | IsBattlegroundOrArena () const |
|
bool | IsScenario () const |
|
bool | IsGarrison () 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.
|
|
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) |
|
TempSummon * | 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) |
|
void | SummonCreatureGroup (uint8 group, std::list< TempSummon * > *list=nullptr) |
|
AreaTrigger * | GetAreaTrigger (ObjectGuid const &guid) |
|
SceneObject * | GetSceneObject (ObjectGuid const &guid) |
|
Conversation * | GetConversation (ObjectGuid const &guid) |
|
Player * | GetPlayer (ObjectGuid const &guid) |
|
Corpse * | GetCorpse (ObjectGuid const &guid) |
|
Creature * | GetCreature (ObjectGuid const &guid) |
|
DynamicObject * | GetDynamicObject (ObjectGuid const &guid) |
|
GameObject * | GetGameObject (ObjectGuid const &guid) |
|
Pet * | GetPet (ObjectGuid const &guid) |
|
Transport * | GetTransport (ObjectGuid const &guid) |
|
Creature * | GetCreatureBySpawnId (ObjectGuid::LowType spawnId) const |
|
GameObject * | GetGameObjectBySpawnId (ObjectGuid::LowType spawnId) const |
|
AreaTrigger * | GetAreaTriggerBySpawnId (ObjectGuid::LowType spawnId) const |
|
WorldObject * | GetWorldObjectBySpawnId (SpawnObjectType type, ObjectGuid::LowType spawnId) const |
|
MapStoredObjectTypesContainer & | GetObjectsStore () |
|
CreatureBySpawnIdContainer & | GetCreatureBySpawnIdStore () |
|
CreatureBySpawnIdContainer const & | GetCreatureBySpawnIdStore () const |
|
GameObjectBySpawnIdContainer & | GetGameObjectBySpawnIdStore () |
|
GameObjectBySpawnIdContainer const & | GetGameObjectBySpawnIdStore () const |
|
AreaTriggerBySpawnIdContainer & | GetAreaTriggerBySpawnIdStore () |
|
AreaTriggerBySpawnIdContainer const & | GetAreaTriggerBySpawnIdStore () const |
|
std::unordered_set< Corpse * > const * | GetCorpsesInCell (uint32 cellId) const |
|
Corpse * | GetCorpseByPlayer (ObjectGuid const &ownerGuid) const |
|
InstanceMap * | ToInstanceMap () |
|
InstanceMap const * | ToInstanceMap () const |
|
BattlegroundMap * | ToBattlegroundMap () |
|
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) |
|
Corpse * | ConvertCorpseToBones (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) |
|
Weather * | GetOrGenerateZoneDefaultWeather (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) |
|
SpawnedPoolData & | GetPoolData () |
|
SpawnedPoolData const & | GetPoolData () const |
|
void | AddFarSpellCallback (FarSpellCallback &&callback) |
|
void | UpdateSpawnGroupConditions () |
|
MultiPersonalPhaseTracker & | GetMultiPersonalPhaseTracker () |
|
void | UpdatePersonalPhasesForPlayer (Player const *player) |
|
int32 | GetWorldStateValue (int32 worldStateId) const |
|
void | SetWorldStateValue (int32 worldStateId, int32 value, bool hidden) |
|
WorldStateValueContainer const & | GetWorldStateValues () 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) |
|
GridReference< NGridType > * | getFirst () |
|
GridReference< NGridType > * | getLast () |
|
iterator | begin () |
|
iterator | end () |
|
| RefManager () |
|
Reference< TO, FROM > * | getFirst () |
|
Reference< TO, FROM > const * | getFirst () const |
|
iterator | begin () |
|
iterator | end () |
|
const_iterator | begin () const |
|
const_iterator | end () const |
|
virtual | ~RefManager () |
|
void | clearReferences () |
|
| LinkedListHead () |
|
bool | isEmpty () const |
|
LinkedListElement * | getFirst () |
|
LinkedListElement const * | getFirst () const |
|
LinkedListElement * | getLast () |
|
LinkedListElement const * | getLast () const |
|
void | insertFirst (LinkedListElement *pElem) |
|
void | insertLast (LinkedListElement *pElem) |
|
uint32 | getSize () const |
|
void | incSize () |
|
void | decSize () |
|
|
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) |
|
NGridType * | getNGrid (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.
|
|
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 () |
|
RespawnInfo * | GetRespawnInfo (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) |
|
RespawnInfoMap * | GetRespawnMapForType (SpawnObjectType type) |
|
RespawnInfoMap const * | GetRespawnMapForType (SpawnObjectType type) const |
|
void | SetSpawnGroupActive (uint32 groupId, bool state) |
|
ObjectGuidGenerator & | GetGuidSequenceGenerator (HighGuid high) |
|