TrinityCore
Creature.h File Reference
#include "Unit.h"
#include "Common.h"
#include "CreatureData.h"
#include "DatabaseEnvFwd.h"
#include "Duration.h"
#include "GridObject.h"
#include "MapObject.h"
#include <list>
+ Include dependency graph for Creature.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  VendorItemCount
 
class  Creature
 
class  AssistDelayEvent
 
class  ForcedDespawnDelayEvent
 

Macros

#define CREATURE_Z_ATTACK_RANGE   3
 
#define MAX_VENDOR_ITEMS   150
 

Typedefs

typedef std::list< VendorItemCountVendorItemCounts
 
typedef std::vector< uint8CreatureTextRepeatIds
 
typedef std::unordered_map< uint8, CreatureTextRepeatIdsCreatureTextRepeatGroup
 

Enumerations

enum class  VendorInventoryReason : uint8 { None = 0 , Empty = 1 }
 

Variables

static constexpr uint8 WILD_BATTLE_PET_DEFAULT_LEVEL = 1
 
static constexpr size_t CREATURE_TAPPERS_SOFT_CAP = 5
 

Macro Definition Documentation

◆ CREATURE_Z_ATTACK_RANGE

#define CREATURE_Z_ATTACK_RANGE   3

Definition at line 52 of file Creature.h.

◆ MAX_VENDOR_ITEMS

#define MAX_VENDOR_ITEMS   150

Definition at line 54 of file Creature.h.

Typedef Documentation

◆ CreatureTextRepeatGroup

typedef std::unordered_map<uint8, CreatureTextRepeatIds> CreatureTextRepeatGroup

Definition at line 67 of file Creature.h.

◆ CreatureTextRepeatIds

typedef std::vector<uint8> CreatureTextRepeatIds

Definition at line 66 of file Creature.h.

◆ VendorItemCounts

typedef std::list<VendorItemCount> VendorItemCounts

Definition at line 49 of file Creature.h.

Enumeration Type Documentation

◆ VendorInventoryReason

enum class VendorInventoryReason : uint8
strong
Enumerator
None 
Empty 

Definition at line 56 of file Creature.h.

57{
58 None = 0,
59 Empty = 1
60};

Variable Documentation

◆ CREATURE_TAPPERS_SOFT_CAP

constexpr size_t CREATURE_TAPPERS_SOFT_CAP = 5
staticconstexpr

Definition at line 63 of file Creature.h.

◆ WILD_BATTLE_PET_DEFAULT_LEVEL

constexpr uint8 WILD_BATTLE_PET_DEFAULT_LEVEL = 1
staticconstexpr

Definition at line 62 of file Creature.h.