AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Object.h File Reference
#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 
73{
74 GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0, // despawns after a specified time OR when the summoner dies
75 GO_SUMMON_TIMED_DESPAWN = 1 // despawns after a specified time
76};
@ GO_SUMMON_TIMED_DESPAWN
Definition Object.h:75
@ GO_SUMMON_TIMED_OR_CORPSE_DESPAWN
Definition Object.h:74

◆ MapObjectCellMoveState

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

◆ NotifyFlags

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

◆ PhaseMasks

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

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

Variable Documentation

◆ HEARTBEAT_INTERVAL

constexpr Milliseconds HEARTBEAT_INTERVAL = 5s + 200ms
staticconstexpr

Referenced by WorldObject::Update().