Class MobStateComponent
When attached to an DamageableComponent, this component will handle critical and death behaviors for mobs. Additionally, it handles sending effects to clients (such as blur effect for unconsciousness) and managing the health HUD.
Inheritance
System.Object
MobStateComponent
Namespace: Content.Shared.Mobs.Components
Assembly: Content.Shared.dll
Syntax
public sealed class MobStateComponent : Component
Fields
| Improve this Doc View SourceAllowedStates
Declaration
public HashSet<MobState> AllowedStates
Field Value
Type | Description |
---|---|
HashSet<MobState> |
Properties
| Improve this Doc View SourceCurrentState
Declaration
public MobState CurrentState { get; set; }
Property Value
Type | Description |
---|---|
MobState |