# eGameObjectActionState
# Description
A collection of game object action state enumerations used to identify the current behavior state of game objects, value type is number
# How to use
if(object->ActionState() & eGameObjectActionState::CanMove) {
// Current object can move
}
if(object->IsStunned()) {
// Current object is stunned
}
# Properties
| key | value | remarks |
|---|---|---|
| CanAttack | 1 | Can attack |
| CanCast | 2 | Can cast spells |
| Controlled | 4 | Is controlled |
| CanMove | 8 | Can move |
| Unknown | 16 | Unknown state |
| IsStealth | 32 | Is invisible |
| Taunted | 64 | Is taunted |
| Feared | 128 | Is feared |
| Fleeing | 256 | Is fleeing |
| Supressed | 512 | Is suppressed |
| Sleep | 1024 | Is sleeping |
| NearSight | 2048 | Has near sight |
| Ghosted | 4096 | Is ghosted |
| HasGhost | 8192 | Has ghost effect |
| Charmed | 16384 | Is charmed |
| NoRender | 32768 | Not rendering |
| DodgePiercing | 131072 | Dodge piercing state |
| DisableAmbientGold | 262144 | Ambient gold disabled |
| DisableAmbientXP | 524288 | Ambient XP disabled |
| ForceRenderParticles | 65536 | Force render particles |
| IsCombatEnchanced | 1048576 | Combat enhanced state |
| IsSelectable | 16777216 | Is selectable state |