Class GameRuleComponent
Component attached to all gamerule entities. Used to both track the entity as well as store basic data
Inheritance
System.Object
GameRuleComponent
Namespace: Content.Server.GameTicking.Rules.Components
Assembly: Content.Server.dll
Syntax
public sealed class GameRuleComponent : Component
Fields
| Improve this Doc View SourceActivatedAt
Game time when game rule was activated
Declaration
public TimeSpan ActivatedAt
Field Value
Type | Description |
---|---|
TimeSpan |
MinPlayers
The minimum amount of players needed for this game rule.
Declaration
public int MinPlayers
Field Value
Type | Description |
---|---|
System.Int32 |