Show / Hide Table of Contents

Class EmagSiliconLawComponent

This is used for an entity that grants a special "obey" law when emagge.d

Inheritance
System.Object
EmagSiliconLawComponent
Namespace: Content.Shared.Silicons.Laws.Components
Assembly: Content.Shared.dll
Syntax
public sealed class EmagSiliconLawComponent : Component

Fields

| Improve this Doc View Source

AntagonistRole

A role given to entities with this component when they are emagged. Mostly just for admin purposes.

Declaration
public string? AntagonistRole
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

EmagLaws

The laws that the borg is given when emagged.

Declaration
public List<string> EmagLaws
Field Value
Type Description
List<System.String>
| Improve this Doc View Source

OwnerName

The name of the person who emagged this law provider.

Declaration
public string? OwnerName
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

RequireOpenPanel

Does the panel need to be open to EMAG this law provider.

Declaration
public bool RequireOpenPanel
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

StunTime

How long the borg is stunned when it's emagged. Setting to 0 will disable it.

Declaration
public TimeSpan StunTime
Field Value
Type Description
TimeSpan
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾