AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Corpse.h File Reference
#include "DatabaseEnv.h"
#include "GridDefines.h"
#include "LootMgr.h"
#include "Object.h"

Go to the source code of this file.

Classes

class  Corpse
 

Macros

#define MAX_CORPSE_TYPE   3
 
#define CORPSE_RECLAIM_RADIUS   39
 

Enumerations

enum  CorpseType {
  CORPSE_BONES = 0 ,
  CORPSE_RESURRECTABLE_PVE = 1 ,
  CORPSE_RESURRECTABLE_PVP = 2
}
 
enum  CorpseFlags {
  CORPSE_FLAG_NONE = 0x00 ,
  CORPSE_FLAG_BONES = 0x01 ,
  CORPSE_FLAG_UNK1 = 0x02 ,
  CORPSE_FLAG_UNK2 = 0x04 ,
  CORPSE_FLAG_HIDE_HELM = 0x08 ,
  CORPSE_FLAG_HIDE_CLOAK = 0x10 ,
  CORPSE_FLAG_LOOTABLE = 0x20
}
 

Macro Definition Documentation

◆ CORPSE_RECLAIM_RADIUS

#define CORPSE_RECLAIM_RADIUS   39

◆ MAX_CORPSE_TYPE

#define MAX_CORPSE_TYPE   3

Enumeration Type Documentation

◆ CorpseFlags

Enumerator
CORPSE_FLAG_NONE 
CORPSE_FLAG_BONES 
CORPSE_FLAG_UNK1 
CORPSE_FLAG_UNK2 
CORPSE_FLAG_HIDE_HELM 
CORPSE_FLAG_HIDE_CLOAK 
CORPSE_FLAG_LOOTABLE 
38{
39 CORPSE_FLAG_NONE = 0x00,
40 CORPSE_FLAG_BONES = 0x01,
41 CORPSE_FLAG_UNK1 = 0x02,
42 CORPSE_FLAG_UNK2 = 0x04,
46};
@ CORPSE_FLAG_UNK1
Definition: Corpse.h:41
@ CORPSE_FLAG_HIDE_CLOAK
Definition: Corpse.h:44
@ CORPSE_FLAG_NONE
Definition: Corpse.h:39
@ CORPSE_FLAG_BONES
Definition: Corpse.h:40
@ CORPSE_FLAG_UNK2
Definition: Corpse.h:42
@ CORPSE_FLAG_HIDE_HELM
Definition: Corpse.h:43
@ CORPSE_FLAG_LOOTABLE
Definition: Corpse.h:45

◆ CorpseType

enum CorpseType
Enumerator
CORPSE_BONES 
CORPSE_RESURRECTABLE_PVE 
CORPSE_RESURRECTABLE_PVP 
27{
28 CORPSE_BONES = 0,
31};
@ CORPSE_RESURRECTABLE_PVE
Definition: Corpse.h:29
@ CORPSE_RESURRECTABLE_PVP
Definition: Corpse.h:30
@ CORPSE_BONES
Definition: Corpse.h:28