Enum CharacterFlags
Flags representing various character states and conditions. Used for bitwise state management and quick checks of character status.
public enum CharacterFlags
Fields
Character is idle and not performing any actions.
Character left the world while in combat and its body is still present on a Scene Server, or was still present when the server last persisted it.
Unlike IsInCombat this flag IS persisted, because it is what lets the login path tell "this account is genuinely playing elsewhere" apart from "this account owns a body that is running out its combat-logout timer". The former must block a second login; the latter must not, or the player could never get back to the character they are being invited to rejoin.
Cleared when the body is despawned or the player reconnects to it.
Character is crouching.
Character is dead. Prevents movement, abilities, and interaction. Enables death dialog UI on client. Cleared on respawn or resurrect.
Character is frozen and cannot move.
Character is in combat. Set when dealing damage, taking damage, or healing an in-combat ally. Managed by a tick-aligned timer that auto-clears after CombatDurationTicks ticks of inactivity. Prevents teleportation and other combat-escape exploits.
Character is currently inside an instance.
Character is currently loaded in the scene and active.
Character is mesmerized and unable to act.
Character is moving.
Character is running.
Character is stunned and unable to act.
Character is swimming.
Character is teleporting.