AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Object.h File Reference
#include "AreaDefines.h"
#include "Common.h"
#include "DataMap.h"
#include "EventProcessor.h"
#include "G3D/Vector3.h"
#include "GridDefines.h"
#include "GridReference.h"
#include "Map.h"
#include "ModelIgnoreFlags.h"
#include "ObjectDefines.h"
#include "ObjectGuid.h"
#include "Optional.h"
#include "Position.h"
#include "UpdateData.h"
#include "UpdateMask.h"
#include <memory>
#include <set>
#include <sstream>
#include <string>
#include "UpdateFields.h"

Go to the source code of this file.

Classes

class  Object
 
struct  MovementInfo
 
struct  MovementInfo::TransportInfo
 
struct  MovementInfo::JumpInfo
 
class  GridObject< T >
 
class  FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >
 
class  MovableMapObject
 
class  WorldObject
 
class  Acore::ObjectDistanceOrderPred
 

Namespaces

namespace  Acore
 

Typedefs

typedef std::unordered_map< Player *, UpdateDataUpdateDataMapType
 
typedef GuidUnorderedSet UpdatePlayerSet
 

Enumerations

enum  TempSummonType {
  TEMPSUMMON_TIMED_OR_DEAD_DESPAWN = 1 ,
  TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN = 2 ,
  TEMPSUMMON_TIMED_DESPAWN = 3 ,
  TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT = 4 ,
  TEMPSUMMON_CORPSE_DESPAWN = 5 ,
  TEMPSUMMON_CORPSE_TIMED_DESPAWN = 6 ,
  TEMPSUMMON_DEAD_DESPAWN = 7 ,
  TEMPSUMMON_MANUAL_DESPAWN = 8 ,
  TEMPSUMMON_DESPAWNED = 9 ,
  TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE = 10
}
 
enum  PhaseMasks {
  PHASEMASK_NORMAL = 0x00000001 ,
  PHASEMASK_ANYWHERE = 0xFFFFFFFF
}
 
enum  NotifyFlags {
  NOTIFY_NONE = 0x00 ,
  NOTIFY_AI_RELOCATION = 0x01 ,
  NOTIFY_VISIBILITY_CHANGED = 0x02 ,
  NOTIFY_ALL = 0xFF
}
 
enum  GOSummonType {
  GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0 ,
  GO_SUMMON_TIMED_DESPAWN = 1
}
 
enum  MapObjectCellMoveState {
  MAP_OBJECT_CELL_MOVE_NONE ,
  MAP_OBJECT_CELL_MOVE_ACTIVE ,
  MAP_OBJECT_CELL_MOVE_INACTIVE
}
 

Variables

static constexpr Milliseconds HEARTBEAT_INTERVAL = 5s + 200ms
 

Typedef Documentation

◆ UpdateDataMapType

typedef std::unordered_map<Player*, UpdateData> UpdateDataMapType

◆ UpdatePlayerSet

Enumeration Type Documentation

◆ GOSummonType

Enumerator
GO_SUMMON_TIMED_OR_CORPSE_DESPAWN 
GO_SUMMON_TIMED_DESPAWN 
74{
75 GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0, // despawns after a specified time OR when the summoner dies
76 GO_SUMMON_TIMED_DESPAWN = 1 // despawns after a specified time
77};
@ GO_SUMMON_TIMED_DESPAWN
Definition Object.h:76
@ GO_SUMMON_TIMED_OR_CORPSE_DESPAWN
Definition Object.h:75

◆ MapObjectCellMoveState

Enumerator
MAP_OBJECT_CELL_MOVE_NONE 
MAP_OBJECT_CELL_MOVE_ACTIVE 
MAP_OBJECT_CELL_MOVE_INACTIVE 
387{
388 MAP_OBJECT_CELL_MOVE_NONE, //not in move list
389 MAP_OBJECT_CELL_MOVE_ACTIVE, //in move list
390 MAP_OBJECT_CELL_MOVE_INACTIVE, //in move list but should not move
391};
@ MAP_OBJECT_CELL_MOVE_INACTIVE
Definition Object.h:390
@ MAP_OBJECT_CELL_MOVE_ACTIVE
Definition Object.h:389
@ MAP_OBJECT_CELL_MOVE_NONE
Definition Object.h:388

◆ NotifyFlags

Enumerator
NOTIFY_NONE 
NOTIFY_AI_RELOCATION 
NOTIFY_VISIBILITY_CHANGED 
NOTIFY_ALL 
66{
67 NOTIFY_NONE = 0x00,
70 NOTIFY_ALL = 0xFF
71};
@ NOTIFY_ALL
Definition Object.h:70
@ NOTIFY_NONE
Definition Object.h:67
@ NOTIFY_AI_RELOCATION
Definition Object.h:68
@ NOTIFY_VISIBILITY_CHANGED
Definition Object.h:69

◆ PhaseMasks

enum PhaseMasks
Enumerator
PHASEMASK_NORMAL 
PHASEMASK_ANYWHERE 
60{
61 PHASEMASK_NORMAL = 0x00000001,
62 PHASEMASK_ANYWHERE = 0xFFFFFFFF
63};
@ PHASEMASK_ANYWHERE
Definition Object.h:62
@ PHASEMASK_NORMAL
Definition Object.h:61

◆ TempSummonType

Enumerator
TEMPSUMMON_TIMED_OR_DEAD_DESPAWN 
TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN 
TEMPSUMMON_TIMED_DESPAWN 
TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT 
TEMPSUMMON_CORPSE_DESPAWN 
TEMPSUMMON_CORPSE_TIMED_DESPAWN 
TEMPSUMMON_DEAD_DESPAWN 
TEMPSUMMON_MANUAL_DESPAWN 
TEMPSUMMON_DESPAWNED 
TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE 
46{
47 TEMPSUMMON_TIMED_OR_DEAD_DESPAWN = 1, // despawns after a specified time OR when the creature disappears
48 TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN = 2, // despawns after a specified time OR when the creature dies
49 TEMPSUMMON_TIMED_DESPAWN = 3, // despawns after a specified time
50 TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT = 4, // despawns after a specified time after the creature is out of combat
51 TEMPSUMMON_CORPSE_DESPAWN = 5, // despawns instantly after death
52 TEMPSUMMON_CORPSE_TIMED_DESPAWN = 6, // despawns after a specified time after death
53 TEMPSUMMON_DEAD_DESPAWN = 7, // despawns when the creature disappears
54 TEMPSUMMON_MANUAL_DESPAWN = 8, // despawns when UnSummon() is called
55 TEMPSUMMON_DESPAWNED = 9, // xinef: DONT USE, INTERNAL USE ONLY
56 TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE = 10, // despawns after a specified time after the creature is out of combat and alive
57};
@ TEMPSUMMON_TIMED_DESPAWN_OOC_ALIVE
Definition Object.h:56
@ TEMPSUMMON_DEAD_DESPAWN
Definition Object.h:53
@ TEMPSUMMON_MANUAL_DESPAWN
Definition Object.h:54
@ TEMPSUMMON_TIMED_DESPAWN
Definition Object.h:49
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
Definition Object.h:50
@ TEMPSUMMON_TIMED_OR_DEAD_DESPAWN
Definition Object.h:47
@ TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN
Definition Object.h:48
@ TEMPSUMMON_DESPAWNED
Definition Object.h:55
@ TEMPSUMMON_CORPSE_DESPAWN
Definition Object.h:51
@ TEMPSUMMON_CORPSE_TIMED_DESPAWN
Definition Object.h:52

Variable Documentation

◆ HEARTBEAT_INTERVAL

constexpr Milliseconds HEARTBEAT_INTERVAL = 5s + 200ms
staticconstexpr

Referenced by WorldObject::Update().