Class TraitorRuleSystem
Inheritance
System.Object
TraitorRuleSystem
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
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
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 |
|