TrinityCore
Map.h File Reference
#include "Define.h"
#include "Cell.h"
#include "DatabaseEnvFwd.h"
#include "DynamicTree.h"
#include "GridDefines.h"
#include "GridRefManager.h"
#include "GroupInstanceReference.h"
#include "MapDefines.h"
#include "MapReference.h"
#include "MapRefManager.h"
#include "MPSCQueue.h"
#include "ObjectGuid.h"
#include "PersonalPhaseTracker.h"
#include "SharedDefines.h"
#include "SpawnData.h"
#include "Timer.h"
#include "UniqueTrackablePtr.h"
#include "WorldStateDefines.h"
#include <bitset>
#include <list>
#include <map>
#include <memory>
#include <set>
#include <unordered_set>
+ Include dependency graph for Map.h:

Go to the source code of this file.

Classes

struct  TransferAbortParams
 
struct  ScriptAction
 
struct  ZoneDynamicInfo
 
struct  ZoneDynamicInfo::LightOverride
 
struct  CompareRespawnInfo
 
struct  RespawnInfo
 
class  Map
 
class  InstanceMap
 
class  BattlegroundMap
 

Namespaces

namespace  Trinity
 
namespace  Vignettes
 
namespace  VMAP
 

Macros

#define MIN_UNLOAD_DELAY   1
 
#define MAP_INVALID_ZONE   0xFFFFFFFF
 

Typedefs

using ZoneDynamicInfoMap = std::unordered_map< uint32, ZoneDynamicInfo >
 
using RespawnInfoMap = std::unordered_map< ObjectGuid::LowType, RespawnInfo * >
 
typedef TypeUnorderedMapContainer< AllMapStoredObjectTypes, ObjectGuidMapStoredObjectTypesContainer
 

Enumerations

enum  TransferAbortReason : uint32 {
  TRANSFER_ABORT_NONE = 0 , TRANSFER_ABORT_ERROR = 1 , TRANSFER_ABORT_MAX_PLAYERS = 2 , TRANSFER_ABORT_NOT_FOUND = 3 ,
  TRANSFER_ABORT_TOO_MANY_INSTANCES = 4 , TRANSFER_ABORT_ZONE_IN_COMBAT = 6 , TRANSFER_ABORT_INSUF_EXPAN_LVL = 7 , TRANSFER_ABORT_DIFFICULTY = 8 ,
  TRANSFER_ABORT_UNIQUE_MESSAGE = 9 , TRANSFER_ABORT_TOO_MANY_REALM_INSTANCES = 10 , TRANSFER_ABORT_NEED_GROUP = 11 , TRANSFER_ABORT_NOT_FOUND_2 = 12 ,
  TRANSFER_ABORT_NOT_FOUND_3 = 13 , TRANSFER_ABORT_NOT_FOUND_4 = 14 , TRANSFER_ABORT_REALM_ONLY = 15 , TRANSFER_ABORT_MAP_NOT_ALLOWED = 16 ,
  TRANSFER_ABORT_LOCKED_TO_DIFFERENT_INSTANCE = 18 , TRANSFER_ABORT_ALREADY_COMPLETED_ENCOUNTER = 19 , TRANSFER_ABORT_DIFFICULTY_NOT_FOUND = 22 , TRANSFER_ABORT_XREALM_ZONE_DOWN = 24 ,
  TRANSFER_ABORT_SOLO_PLAYER_SWITCH_DIFFICULTY = 26 , TRANSFER_ABORT_NOT_CROSS_FACTION_COMPATIBLE = 33
}
 
enum class  InstanceResetMethod : uint8 { Manual , OnChangeDifficulty , Expire }
 
enum class  InstanceResetResult : uint8 { Success , NotEmpty , CannotReset }
 

Macro Definition Documentation

◆ MAP_INVALID_ZONE

#define MAP_INVALID_ZONE   0xFFFFFFFF

Definition at line 153 of file Map.h.

◆ MIN_UNLOAD_DELAY

#define MIN_UNLOAD_DELAY   1

Definition at line 152 of file Map.h.

Typedef Documentation

◆ MapStoredObjectTypesContainer

Definition at line 186 of file Map.h.

◆ RespawnInfoMap

using RespawnInfoMap = std::unordered_map<ObjectGuid::LowType, RespawnInfo*>

Definition at line 162 of file Map.h.

◆ ZoneDynamicInfoMap

using ZoneDynamicInfoMap = std::unordered_map<uint32 , ZoneDynamicInfo>

Definition at line 160 of file Map.h.

Enumeration Type Documentation

◆ InstanceResetMethod

enum class InstanceResetMethod : uint8
strong
Enumerator
Manual 
OnChangeDifficulty 
Expire 

Definition at line 844 of file Map.h.

◆ InstanceResetResult

enum class InstanceResetResult : uint8
strong
Enumerator
Success 
NotEmpty 
CannotReset 

Definition at line 851 of file Map.h.

◆ TransferAbortReason

Enumerator
TRANSFER_ABORT_NONE 
TRANSFER_ABORT_ERROR 
TRANSFER_ABORT_MAX_PLAYERS 
TRANSFER_ABORT_NOT_FOUND 
TRANSFER_ABORT_TOO_MANY_INSTANCES 
TRANSFER_ABORT_ZONE_IN_COMBAT 
TRANSFER_ABORT_INSUF_EXPAN_LVL 
TRANSFER_ABORT_DIFFICULTY 
TRANSFER_ABORT_UNIQUE_MESSAGE 
TRANSFER_ABORT_TOO_MANY_REALM_INSTANCES 
TRANSFER_ABORT_NEED_GROUP 
TRANSFER_ABORT_NOT_FOUND_2 
TRANSFER_ABORT_NOT_FOUND_3 
TRANSFER_ABORT_NOT_FOUND_4 
TRANSFER_ABORT_REALM_ONLY 
TRANSFER_ABORT_MAP_NOT_ALLOWED 
TRANSFER_ABORT_LOCKED_TO_DIFFERENT_INSTANCE 
TRANSFER_ABORT_ALREADY_COMPLETED_ENCOUNTER 
TRANSFER_ABORT_DIFFICULTY_NOT_FOUND 
TRANSFER_ABORT_XREALM_ZONE_DOWN 
TRANSFER_ABORT_SOLO_PLAYER_SWITCH_DIFFICULTY 
TRANSFER_ABORT_NOT_CROSS_FACTION_COMPATIBLE 

Definition at line 85 of file Map.h.