Class GenericAntagSystem
Handles adding objectives to GenericAntagComponents. Roundend summary is handled by GenericAntagRuleSystem.
Inheritance
System.Object
GenericAntagSystem
Namespace: Content.Server.GenericAntag
Assembly: Content.Server.dll
Syntax
public sealed class GenericAntagSystem : EntitySystem
Methods
| Improve this Doc View SourceInitialize()
Declaration
public override void Initialize()
MakeAntag(EntityUid, EntityUid, GenericAntagComponent, MindComponent)
Turns a player into this antagonist. Does the same thing that having a mind added does, use for antag ctrl.
Declaration
public void MakeAntag(EntityUid uid, EntityUid mindId, GenericAntagComponent comp = null, MindComponent mind = null)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | uid | |
EntityUid | mindId | |
GenericAntagComponent | comp | |
MindComponent | mind |