Show / Hide Table of Contents

Class DeviceLinkSystem

Inheritance
System.Object
SharedDeviceLinkSystem
DeviceLinkSystem
Namespace: Content.Server.DeviceLinking.Systems
Assembly: Content.Server.dll
Syntax
public sealed class DeviceLinkSystem : SharedDeviceLinkSystem

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
Overrides
SharedDeviceLinkSystem.Initialize()
| Improve this Doc View Source

InvokePort(EntityUid, String, NetworkPayload, DeviceLinkSourceComponent)

Sends a network payload directed at the sink entity. Just raises a Content.Server.DeviceLinking.Events.SignalReceivedEvent without data if the source or the sink doesn't have a DeviceNetworkComponent

Declaration
public void InvokePort(EntityUid uid, string port, NetworkPayload data = null, DeviceLinkSourceComponent sourceComponent = null)
Parameters
Type Name Description
EntityUid uid

The source uid that invokes the port

System.String port

The port to invoke

NetworkPayload data

Optional data to send along

DeviceLinkSourceComponent sourceComponent
| Improve this Doc View Source

SendSignal(EntityUid, String, Boolean, DeviceLinkSourceComponent)

Helper function that invokes a port with a high/low binary logic signal.

Declaration
public void SendSignal(EntityUid uid, string port, bool signal, DeviceLinkSourceComponent comp = null)
Parameters
Type Name Description
EntityUid uid
System.String port
System.Boolean signal
DeviceLinkSourceComponent comp
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾