Show / Hide Table of Contents

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 Source

ActivatedAt

Game time when game rule was activated

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

MinPlayers

The minimum amount of players needed for this game rule.

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