# eGameObjectStatusFlags
# Description
A collection of game object status flag enumerations used to identify special states of game objects, value type is number
# How to use
if(object->StatusFlags() & eGameObjectStatusFlags::Invulnerable) {
// Current object is invulnerable
}
if(object->IsInvulnerable()) {
// Current object is invulnerable
}
# Properties
key | value | remarks |
---|---|---|
Invulnerable | 1 << 0 | Invulnerable state, immune to all damage |
MagicImmune | 1 << 6 | Magic immune, immune to magic damage |
PhysicalImmune | 1 << 7 | Physical immune, immune to physical damage |