TrinityCore
CreatureData Struct Reference

#include <CreatureData.h>

+ Inheritance diagram for CreatureData:

Public Member Functions

 CreatureData ()
 

Public Attributes

Optional< CreatureModeldisplay
 
int8 equipmentId = 0
 
float wander_distance = 0.0f
 
uint32 currentwaypoint = 0
 
uint32 curHealthPct = 0
 
uint8 movementType = 0
 
Optional< uint64npcflag
 
Optional< uint32unit_flags
 
Optional< uint32unit_flags2
 
Optional< uint32unit_flags3
 
- Public Attributes inherited from SpawnData
uint32 id = 0
 
Position spawnPoint
 
uint8 phaseUseFlags = 0
 
uint32 phaseId = 0
 
uint32 phaseGroup = 0
 
int32 terrainSwapMap = -1
 
uint32 poolId = 0
 
int32 spawntimesecs = 0
 
std::vector< DifficultyspawnDifficulties
 
uint32 scriptId = 0
 
std::string StringId
 

Additional Inherited Members

- Protected Member Functions inherited from SpawnData
 SpawnData (SpawnObjectType t)
 

Detailed Description

Definition at line 597 of file CreatureData.h.

Constructor & Destructor Documentation

◆ CreatureData()

CreatureData::CreatureData ( )
inline

Definition at line 599 of file CreatureData.h.

Member Data Documentation

◆ curHealthPct

uint32 CreatureData::curHealthPct = 0

Definition at line 604 of file CreatureData.h.

◆ currentwaypoint

uint32 CreatureData::currentwaypoint = 0

Definition at line 603 of file CreatureData.h.

◆ display

Optional<CreatureModel> CreatureData::display

Definition at line 600 of file CreatureData.h.

◆ equipmentId

int8 CreatureData::equipmentId = 0

Definition at line 601 of file CreatureData.h.

◆ movementType

uint8 CreatureData::movementType = 0

Definition at line 605 of file CreatureData.h.

◆ npcflag

Optional<uint64> CreatureData::npcflag

Definition at line 606 of file CreatureData.h.

◆ unit_flags

Optional<uint32> CreatureData::unit_flags

Definition at line 607 of file CreatureData.h.

◆ unit_flags2

Optional<uint32> CreatureData::unit_flags2

Definition at line 608 of file CreatureData.h.

◆ unit_flags3

Optional<uint32> CreatureData::unit_flags3

Definition at line 609 of file CreatureData.h.

◆ wander_distance

float CreatureData::wander_distance = 0.0f

Definition at line 602 of file CreatureData.h.


The documentation for this struct was generated from the following file: