Class SleepingComponent
Added to entities when they go to sleep.
Inheritance
System.Object
SleepingComponent
Namespace: Content.Shared.Bed.Sleep
Assembly: Content.Shared.dll
Syntax
public sealed class SleepingComponent : Component
Fields
| Improve this Doc View SourceCooldown
Cooldown time between users hand interaction.
Declaration
public TimeSpan Cooldown
Field Value
Type | Description |
---|---|
TimeSpan |
CoolDownEnd
Declaration
public TimeSpan CoolDownEnd
Field Value
Type | Description |
---|---|
TimeSpan |
WakeAction
Declaration
public EntityUid? WakeAction
Field Value
Type | Description |
---|---|
System.Nullable<EntityUid> |
WakeThreshold
How much damage of any type it takes to wake this entity.
Declaration
public FixedPoint2 WakeThreshold
Field Value
Type | Description |
---|---|
FixedPoint2 |