Show / Hide Table of Contents

Class TraitorRuleSystem

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

Methods

| Improve this Doc View Source

ActiveTick(EntityUid, TraitorRuleComponent, GameRuleComponent, Single)

Declaration
protected override void ActiveTick(EntityUid uid, TraitorRuleComponent component, GameRuleComponent gameRule, float frameTime)
Parameters
Type Name Description
EntityUid uid
TraitorRuleComponent component
GameRuleComponent gameRule
System.Single frameTime
Overrides
Content.Server.GameTicking.Rules.GameRuleSystem<Content.Server.GameTicking.Rules.Components.TraitorRuleComponent>.ActiveTick(EntityUid, Content.Server.GameTicking.Rules.Components.TraitorRuleComponent, Content.Server.GameTicking.Rules.Components.GameRuleComponent, System.Single)
| Improve this Doc View Source

GetOtherTraitorMindsAliveAndConnected(MindComponent)

Declaration
public List<(EntityUid Id, MindComponent Mind)> GetOtherTraitorMindsAliveAndConnected(MindComponent ourMind)
Parameters
Type Name Description
MindComponent ourMind
Returns
Type Description
List<System.ValueTuple<EntityUid, MindComponent>>
| Improve this Doc View Source

Initialize()

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

MakeTraitor(ICommonSession, Boolean, Boolean)

Declaration
public bool MakeTraitor(ICommonSession traitor, bool giveUplink = true, bool giveObjectives = true)
Parameters
Type Name Description
Robust.Shared.Players.ICommonSession traitor
System.Boolean giveUplink
System.Boolean giveObjectives
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾