AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Object.h File Reference
#include "Common.h"
#include "DataMap.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
}
 

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 
72{
73 GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0, // despawns after a specified time OR when the summoner dies
74 GO_SUMMON_TIMED_DESPAWN = 1 // despawns after a specified time
75};
@ GO_SUMMON_TIMED_DESPAWN
Definition: Object.h:74
@ GO_SUMMON_TIMED_OR_CORPSE_DESPAWN
Definition: Object.h:73

◆ MapObjectCellMoveState

Enumerator
MAP_OBJECT_CELL_MOVE_NONE 
MAP_OBJECT_CELL_MOVE_ACTIVE 
MAP_OBJECT_CELL_MOVE_INACTIVE 
381{
382 MAP_OBJECT_CELL_MOVE_NONE, //not in move list
383 MAP_OBJECT_CELL_MOVE_ACTIVE, //in move list
384 MAP_OBJECT_CELL_MOVE_INACTIVE, //in move list but should not move
385};
@ MAP_OBJECT_CELL_MOVE_INACTIVE
Definition: Object.h:384
@ MAP_OBJECT_CELL_MOVE_ACTIVE
Definition: Object.h:383
@ MAP_OBJECT_CELL_MOVE_NONE
Definition: Object.h:382

◆ NotifyFlags

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

◆ PhaseMasks

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

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