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 "UnitDefines.h"
#include "UpdateData.h"
#include "UpdateMask.h"
#include "ObjectVisibilityContainer.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  UpdatableMapObject
 
class  WorldObject
 
class  Acore::ObjectDistanceOrderPred
 

Namespaces

namespace  Acore
 

Typedefs

typedef std::unordered_map< Player *, UpdateDataUpdateDataMapType
 

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

Enumeration Type Documentation

◆ GOSummonType

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

◆ MapObjectCellMoveState

Enumerator
MAP_OBJECT_CELL_MOVE_NONE 
MAP_OBJECT_CELL_MOVE_ACTIVE 
MAP_OBJECT_CELL_MOVE_INACTIVE 
407{
408 MAP_OBJECT_CELL_MOVE_NONE, //not in move list
409 MAP_OBJECT_CELL_MOVE_ACTIVE, //in move list
410 MAP_OBJECT_CELL_MOVE_INACTIVE, //in move list but should not move
411};
@ MAP_OBJECT_CELL_MOVE_INACTIVE
Definition Object.h:410
@ MAP_OBJECT_CELL_MOVE_ACTIVE
Definition Object.h:409
@ MAP_OBJECT_CELL_MOVE_NONE
Definition Object.h:408

◆ NotifyFlags

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

◆ PhaseMasks

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

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

Variable Documentation

◆ HEARTBEAT_INTERVAL

constexpr Milliseconds HEARTBEAT_INTERVAL = 5s + 200ms
staticconstexpr

Referenced by WorldObject::Update().