18#ifndef TRINITYCORE_CORPSE_H
19#define TRINITYCORE_CORPSE_H
33#define MAX_CORPSE_TYPE 3
36#define CORPSE_RECLAIM_RADIUS 39
71 void ResetGhostTime();
80 bool IsExpired(time_t t)
const;
@ CORPSE_RESURRECTABLE_PVE
@ CORPSE_RESURRECTABLE_PVP
SQLTransaction< CharacterDatabaseConnection > CharacterDatabaseTransaction
static void SaveToDB(QuestPool const &pool, CharacterDatabaseTransaction trans)
time_t const & GetGhostTime() const
CellCoord const & GetCellCoord() const
ObjectGuid GetOwnerGUID() const override
void SetCellCoord(CellCoord const &cellCoord)
CorpseType GetType() const
Class used to access individual fields of database query result.
ObjectGuid GetGuidValue(uint16 index) const
void AddToWorld() override
void RemoveFromWorld() override
virtual uint32 GetFaction() const =0