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 <set>
#include <sstream>
#include <string>

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

◆ MapObjectCellMoveState

Enumerator
MAP_OBJECT_CELL_MOVE_NONE 
MAP_OBJECT_CELL_MOVE_ACTIVE 
MAP_OBJECT_CELL_MOVE_INACTIVE 
369{
370 MAP_OBJECT_CELL_MOVE_NONE, //not in move list
371 MAP_OBJECT_CELL_MOVE_ACTIVE, //in move list
372 MAP_OBJECT_CELL_MOVE_INACTIVE, //in move list but should not move
373};
@ MAP_OBJECT_CELL_MOVE_INACTIVE
Definition: Object.h:372
@ MAP_OBJECT_CELL_MOVE_ACTIVE
Definition: Object.h:371
@ MAP_OBJECT_CELL_MOVE_NONE
Definition: Object.h:370

◆ NotifyFlags

Enumerator
NOTIFY_NONE 
NOTIFY_AI_RELOCATION 
NOTIFY_VISIBILITY_CHANGED 
NOTIFY_ALL 
61{
62 NOTIFY_NONE = 0x00,
65 NOTIFY_ALL = 0xFF
66};
@ NOTIFY_ALL
Definition: Object.h:65
@ NOTIFY_NONE
Definition: Object.h:62
@ NOTIFY_AI_RELOCATION
Definition: Object.h:63
@ NOTIFY_VISIBILITY_CHANGED
Definition: Object.h:64

◆ PhaseMasks

enum PhaseMasks
Enumerator
PHASEMASK_NORMAL 
PHASEMASK_ANYWHERE 
55{
56 PHASEMASK_NORMAL = 0x00000001,
57 PHASEMASK_ANYWHERE = 0xFFFFFFFF
58};
@ PHASEMASK_ANYWHERE
Definition: Object.h:57
@ PHASEMASK_NORMAL
Definition: Object.h:56

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