TrinityCore
Loading...
Searching...
No Matches
CreatureMovementData Struct Reference

#include <CreatureData.h>

Public Member Functions

 CreatureMovementData ()
 
bool IsGroundAllowed () const
 
bool IsSwimAllowed () const
 
bool IsFlightAllowed () const
 
bool IsRooted () const
 
CreatureChaseMovementType GetChase () const
 
CreatureRandomMovementType GetRandom () const
 
uint32 GetInteractionPauseTimer () const
 
std::string ToString () const
 

Public Attributes

CreatureGroundMovementType Ground
 
CreatureFlightMovementType Flight
 
bool Swim
 
bool Rooted
 
CreatureChaseMovementType Chase
 
CreatureRandomMovementType Random
 
uint32 InteractionPauseTimer
 

Detailed Description

Definition at line 258 of file CreatureData.h.

Constructor & Destructor Documentation

◆ CreatureMovementData()

CreatureMovementData::CreatureMovementData ( )

Definition at line 58 of file Creature.cpp.

Member Function Documentation

◆ GetChase()

CreatureChaseMovementType CreatureMovementData::GetChase ( ) const
inline

Definition at line 275 of file CreatureData.h.

Referenced by ChaseMovementGenerator::Update().

◆ GetInteractionPauseTimer()

uint32 CreatureMovementData::GetInteractionPauseTimer ( ) const
inline

◆ GetRandom()

CreatureRandomMovementType CreatureMovementData::GetRandom ( ) const
inline

Definition at line 276 of file CreatureData.h.

References Random.

Referenced by RandomMovementGenerator< T >::SetRandomLocation().

◆ IsFlightAllowed()

bool CreatureMovementData::IsFlightAllowed ( ) const
inline

Definition at line 272 of file CreatureData.h.

References None.

Referenced by Creature::UpdateMovementFlags().

◆ IsGroundAllowed()

bool CreatureMovementData::IsGroundAllowed ( ) const
inline

Definition at line 270 of file CreatureData.h.

References Ground, and None.

◆ IsRooted()

bool CreatureMovementData::IsRooted ( ) const
inline

Definition at line 273 of file CreatureData.h.

◆ IsSwimAllowed()

bool CreatureMovementData::IsSwimAllowed ( ) const
inline

Definition at line 271 of file CreatureData.h.

References Swim.

Referenced by Creature::CanEnterWater().

◆ ToString()

std::string CreatureMovementData::ToString ( ) const

Member Data Documentation

◆ Chase

◆ Flight

◆ Ground

◆ InteractionPauseTimer

uint32 CreatureMovementData::InteractionPauseTimer

◆ Random

◆ Rooted

bool CreatureMovementData::Rooted

◆ Swim

bool CreatureMovementData::Swim

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