Show / Hide Table of Contents

Class GenericAntagRuleSystem

Handles round end text for simple antags. Adding objectives is handled in its own system.

Inheritance
System.Object
GameRuleSystem<GenericAntagRuleComponent>
GenericAntagRuleSystem
Namespace: Content.Server.GameTicking.Rules
Assembly: Content.Server.dll
Syntax
public sealed class GenericAntagRuleSystem : GameRuleSystem<GenericAntagRuleComponent>

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
Content.Server.GameTicking.Rules.GameRuleSystem<Content.Server.GameTicking.Rules.Components.GenericAntagRuleComponent>.Initialize()
| Improve this Doc View Source

StartRule(String, EntityUid, out Nullable<EntityUid>, out GenericAntagRuleComponent)

Start a simple antag's game rule. If it is invalid the rule is deleted and null is returned.

Declaration
public bool StartRule(string rule, EntityUid mindId, out EntityUid? ruleId, out GenericAntagRuleComponent comp)
Parameters
Type Name Description
System.String rule
EntityUid mindId
System.Nullable<EntityUid> ruleId
GenericAntagRuleComponent comp
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾