Class DeviceLinkSourceComponent
Inheritance
System.Object
DeviceLinkSourceComponent
Namespace: Content.Shared.DeviceLinking
Assembly: Content.Shared.dll
Syntax
public sealed class DeviceLinkSourceComponent : Component
Fields
| Improve this Doc View SourceLinkedPorts
The list of source to sink ports for each linked sink entity for easier managing of links
Declaration
public Dictionary<EntityUid, HashSet<(string source, string sink)>> LinkedPorts
Field Value
Type | Description |
---|---|
Dictionary<EntityUid, HashSet<System.ValueTuple<System.String, System.String>>> |
Outputs
A list of sink uids that got linked for each port
Declaration
public Dictionary<string, HashSet<EntityUid>> Outputs
Field Value
Type | Description |
---|---|
Dictionary<System.String, HashSet<EntityUid>> |
Ports
The ports the device link source sends signals from
Declaration
public HashSet<string>? Ports
Field Value
Type | Description |
---|---|
System.Nullable<HashSet<System.String>> |
Range
Limits the range devices can be linked across.
Declaration
public float Range
Field Value
Type | Description |
---|---|
System.Single |