Show / Hide Table of Contents

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 Source

InvokeCounter

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

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

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

Ports

The ports this sink has

Declaration
public HashSet<string>? Ports
Field Value
Type Description
System.Nullable<HashSet<System.String>>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾