QcMsg::MobGoal Struct
struct QcMsg::MobGoalWhere a creature is heading: chasing a player, wandering or fleeing. More...
| Header: | #include <common/protocol/QcDebugMessages.h> |
Public Types
| enum class | Kind { Wander, Chase, Flee } |
Public Variables
Static Public Members
| const quint8 | kindCount |
Detailed Description
Member Type Documentation
enum class MobGoal::Kind
What the creature does.
| Constant | Value | Description |
|---|---|---|
QcMsg::MobGoal::Kind::Wander | 0 | It wanders (or walks a path that is not a flight). |
QcMsg::MobGoal::Kind::Chase | 1 | It chases a player. |
QcMsg::MobGoal::Kind::Flee | 2 | It flees. |
Member Variable Documentation
quint32 MobGoal::entityId
The creature's entity id.
QcVec3 MobGoal::goal
Where it is heading.
QcMsg::MobGoal::Kind MobGoal::kind
What it does.
const quint8 MobGoal::kindCount
The number of kinds.