Show / Hide Table of Contents

Class ThirstComponent

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

Fields

| Improve this Doc View Source

ActualDecayRate

Declaration
public float ActualDecayRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

BaseDecayRate

Declaration
public float BaseDecayRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

CurrentThirst

Declaration
public float CurrentThirst
Field Value
Type Description
System.Single
| Improve this Doc View Source

CurrentThirstThreshold

Declaration
public ThirstThreshold CurrentThirstThreshold
Field Value
Type Description
ThirstThreshold
| Improve this Doc View Source

LastThirstThreshold

Declaration
public ThirstThreshold LastThirstThreshold
Field Value
Type Description
ThirstThreshold
| Improve this Doc View Source

NextUpdateTime

The time when the hunger will update next.

Declaration
public TimeSpan NextUpdateTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

ThirstThresholdAlertTypes

Declaration
public static readonly Dictionary<ThirstThreshold, AlertType> ThirstThresholdAlertTypes
Field Value
Type Description
Dictionary<ThirstThreshold, AlertType>
| Improve this Doc View Source

ThirstThresholds

Declaration
public Dictionary<ThirstThreshold, float> ThirstThresholds
Field Value
Type Description
Dictionary<ThirstThreshold, System.Single>
| Improve this Doc View Source

UpdateRate

The time between each update.

Declaration
public TimeSpan UpdateRate
Field Value
Type Description
TimeSpan
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾