Show / Hide Table of Contents

Class MobThresholdsComponent

Inheritance
System.Object
MobThresholdsComponent
Namespace: Content.Shared.Mobs.Components
Assembly: Content.Shared.dll
Syntax
public sealed class MobThresholdsComponent : Component

Fields

| Improve this Doc View Source

AllowRevives

Whether or not this entity can be revived out of a dead state.

Declaration
public bool AllowRevives
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

CurrentThresholdState

Declaration
public MobState CurrentThresholdState
Field Value
Type Description
MobState
| Improve this Doc View Source

ShowOverlays

Whether or not this entity should display damage overlays (robots don't feel pain, black out etc.)

Declaration
public bool ShowOverlays
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

StateAlertDict

The health alert that should be displayed for player controlled entities. Used for alternate health alerts (silicons, for example)

Declaration
public Dictionary<MobState, AlertType> StateAlertDict
Field Value
Type Description
Dictionary<MobState, AlertType>
| Improve this Doc View Source

Thresholds

Declaration
public SortedDictionary<FixedPoint2, MobState> Thresholds
Field Value
Type Description
SortedDictionary<FixedPoint2, MobState>
| Improve this Doc View Source

TriggersAlerts

Declaration
public bool TriggersAlerts
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾