Class InactivityRuleComponent
Gamerule that ends the round after a period of inactivity.
Inheritance
System.Object
InactivityRuleComponent
Namespace: Content.Server.GameTicking.Rules.Components
Assembly: Content.Server.dll
Syntax
public sealed class InactivityRuleComponent : Component
Fields
| Improve this Doc View SourceInactivityMaxTime
How long the round must be inactive to restart
Declaration
public TimeSpan InactivityMaxTime
Field Value
Type | Description |
---|---|
TimeSpan |
RoundEndDelay
The delay between announcing round end and the lobby.
Declaration
public TimeSpan RoundEndDelay
Field Value
Type | Description |
---|---|
TimeSpan |
TimerCancel
Declaration
public CancellationTokenSource TimerCancel
Field Value
Type | Description |
---|---|
CancellationTokenSource |