19 #ifndef TRINITYCORE_CORPSE_H
20 #define TRINITYCORE_CORPSE_H
33 #define MAX_CORPSE_TYPE 3
36 #define CORPSE_RECLAIM_RADIUS 39
80 bool IsExpired(time_t t)
const;
ObjectGuid GetOwnerGUID() const
Definition: Corpse.h:67
void SetCellCoord(CellCoord const &cellCoord)
Definition: Corpse.h:74
void ResetGhostTime()
Definition: Corpse.h:70
CellCoord const & GetCellCoord() const
Definition: Corpse.h:73
Class used to access individual fields of database query result.
Definition: Field.h:56
CorpseFlags
Definition: Corpse.h:38
arena_t NULL
Definition: jemalloc_internal.h:624
CorpseType
Definition: Corpse.h:27
bool lootForBody
Definition: Corpse.h:78
CellCoord _cellCoord
Definition: Corpse.h:85
CorpseType m_type
Definition: Corpse.h:83
uint64 LowType
Definition: ObjectGuid.h:199
CorpseType GetType() const
Definition: Corpse.h:71
time_t const & GetGhostTime() const
Definition: Corpse.h:69
Definition: LootMgr.h:314
virtual void RemoveFromWorld() override
Definition: Object.cpp:1515
ObjectGuid const & GetGuidValue(uint16 index) const
Definition: Object.cpp:332
Player * lootRecipient
Definition: Corpse.h:77
virtual void AddToWorld()
Definition: Object.cpp:142
time_t m_time
Definition: Corpse.h:84
#define TC_GAME_API
Definition: Define.h:134
Loot loot
Definition: Corpse.h:76
Definition: UpdateFields.h:355
Definition: ObjectGuid.h:189
std::shared_ptr< Transaction > SQLTransaction
Definition: Transaction.h:58