Show / Hide Table of Contents

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 Source

AllowedStates

Declaration
public HashSet<MobState> AllowedStates
Field Value
Type Description
HashSet<MobState>

Properties

| Improve this Doc View Source

CurrentState

Declaration
public MobState CurrentState { get; set; }
Property Value
Type Description
MobState
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾