Class ClientWire
ClientWire, sent by the server so that the client knows what wires there are on an entity.
Inheritance
System.Object
ClientWire
Namespace: Content.Shared.Wires
Assembly: Content.Shared.dll
Syntax
public sealed class ClientWire : object
Constructors
| Improve this Doc View SourceClientWire(Int32, Boolean, WireColor, WireLetter)
Declaration
public ClientWire(int id, bool isCut, WireColor color, WireLetter letter)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | id | |
System.Boolean | isCut | |
WireColor | color | |
WireLetter | letter |
Fields
| Improve this Doc View SourceColor
Current color of the wire.
Declaration
public WireColor Color
Field Value
Type | Description |
---|---|
WireColor |
Id
ID of this wire, which corresponds to the ID server side.
Declaration
public int Id
Field Value
Type | Description |
---|---|
System.Int32 |
IsCut
Whether this wire is cut or not.
Declaration
public bool IsCut
Field Value
Type | Description |
---|---|
System.Boolean |
Letter
Current letter of the wire.
Declaration
public WireLetter Letter
Field Value
Type | Description |
---|---|
WireLetter |