Show / Hide Table of Contents

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 Source

LinkedPorts

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>>>
| Improve this Doc View Source

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>>
| Improve this Doc View Source

Ports

The ports the device link source sends signals from

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

Range

Limits the range devices can be linked across.

Declaration
public float Range
Field Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾