Show / Hide Table of Contents

Class RevolutionaryRuleSystem

Where all the main stuff for Revolutionaries happens (Assigning Head Revs, Command on station, and checking for the game to end.)

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

Fields

| Improve this Doc View Source

RevolutionaryAntagRole

Declaration
public const string RevolutionaryAntagRole = null
Field Value
Type Description
System.String
| Improve this Doc View Source

RevolutionaryNpcFaction

Declaration
public const string RevolutionaryNpcFaction = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

ActiveTick(EntityUid, RevolutionaryRuleComponent, GameRuleComponent, Single)

Checks if the round should end and also checks who has a mindshield.

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

Initialize()

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

OnHeadRevAdmin(EntityUid, MindComponent)

Declaration
public void OnHeadRevAdmin(EntityUid mindId, MindComponent mind = null)
Parameters
Type Name Description
EntityUid mindId
MindComponent mind
| Improve this Doc View Source

OnPostFlash(EntityUid, HeadRevolutionaryComponent, ref AfterFlashedEvent)

Called when a Head Rev uses a flash in melee to convert somebody else.

Declaration
public void OnPostFlash(EntityUid uid, HeadRevolutionaryComponent comp, ref AfterFlashedEvent ev)
Parameters
Type Name Description
EntityUid uid
HeadRevolutionaryComponent comp
AfterFlashedEvent ev
| Improve this Doc View Source

Started(EntityUid, RevolutionaryRuleComponent, GameRuleComponent, GameRuleStartedEvent)

Declaration
protected override void Started(EntityUid uid, RevolutionaryRuleComponent component, GameRuleComponent gameRule, GameRuleStartedEvent args)
Parameters
Type Name Description
EntityUid uid
RevolutionaryRuleComponent component
GameRuleComponent gameRule
Content.Server.GameTicking.Rules.Components.GameRuleStartedEvent args
Overrides
Content.Server.GameTicking.Rules.GameRuleSystem<Content.Server.GameTicking.Rules.Components.RevolutionaryRuleComponent>.Started(EntityUid, Content.Server.GameTicking.Rules.Components.RevolutionaryRuleComponent, Content.Server.GameTicking.Rules.Components.GameRuleComponent, Content.Server.GameTicking.Rules.Components.GameRuleStartedEvent)
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾