Class DeviceLinkSinkComponent
Inheritance
System.Object
DeviceLinkSinkComponent
Namespace: Content.Shared.DeviceLinking
Assembly: Content.Shared.dll
Syntax
public sealed class DeviceLinkSinkComponent : Component
Fields
| Improve this Doc View SourceInvokeCounter
Counts the amount of times a sink has been invoked for severing the link if this counter gets to high The counter is counted down by one every tick if it's higher than 0 This is for preventing infinite loops
Declaration
public int InvokeCounter
Field Value
Type | Description |
---|---|
System.Int32 |
InvokeLimit
How high the invoke counter is allowed to get before the links to the sink are removed and the DeviceLinkOverloadedEvent gets raised If the invoke limit is smaller than 1 the sink can't overload
Declaration
public int InvokeLimit
Field Value
Type | Description |
---|---|
System.Int32 |
LinkedSources
Used for removing a sink from all linked sources when it gets removed
Declaration
public HashSet<EntityUid> LinkedSources
Field Value
Type | Description |
---|---|
HashSet<EntityUid> |
Ports
The ports this sink has
Declaration
public HashSet<string>? Ports
Field Value
Type | Description |
---|---|
System.Nullable<HashSet<System.String>> |