Class WiresComponent
Inheritance
System.Object
WiresComponent
Namespace: Content.Server.Wires
Assembly: Content.Server.dll
Syntax
public sealed class WiresComponent : Component
Fields
| Improve this Doc View SourcePulseSound
Declaration
public SoundSpecifier PulseSound
Field Value
Type | Description |
---|---|
Robust.Shared.Audio.SoundSpecifier |
Properties
| Improve this Doc View SourceAlwaysRandomize
If this should follow the layout saved the first time the layout dictated by the layout ID is generated, or if a new wire order should be generated every time.
Declaration
public bool AlwaysRandomize { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
BoardName
The name of this entity's internal board.
Declaration
public string BoardName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
LayoutId
The layout ID of this entity's wires.
Declaration
public string LayoutId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
SerialNumber
The serial number of this board. Randomly generated upon start, does not need to be set.
Declaration
public string? SerialNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.String> |
StateData
The state data for the set of wires inside of this entity. This is so that wire objects can be flyweighted between entities without any issues.
Declaration
public Dictionary<object, object> StateData { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Object, System.Object> |
Statuses
Per wire status, keyed by an object.
Declaration
public Dictionary<object, object> Statuses { get; }
Property Value
Type | Description |
---|---|
Dictionary<System.Object, System.Object> |
WireSeed
The seed that dictates the wires appearance, as well as the status ordering on the UI client side.
Declaration
public int WireSeed { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
WiresList
The list of wires currently active on this entity.
Declaration
public List<Wire> WiresList { get; set; }
Property Value
Type | Description |
---|---|
List<Wire> |
WiresQueue
Queue of wires saved while the wire's DoAfter event occurs, to prevent too much spam.
Declaration
public List<int> WiresQueue { get; }
Property Value
Type | Description |
---|---|
List<System.Int32> |