Show / Hide Table of Contents

Class StationLimitedNetworkSystem

This system requires the StationLimitedNetworkComponent to be on the the sending entity as well as the receiving entity

Inheritance
System.Object
StationLimitedNetworkSystem
Namespace: Content.Server.DeviceNetwork.Systems
Assembly: Content.Server.dll
Syntax
public sealed class StationLimitedNetworkSystem : EntitySystem

Methods

| Improve this Doc View Source

Initialize()

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

SetStation(EntityUid, Nullable<EntityUid>, StationLimitedNetworkComponent)

Sets the station id the device is limited to.

Declaration
public void SetStation(EntityUid uid, EntityUid? stationId, StationLimitedNetworkComponent component = null)
Parameters
Type Name Description
EntityUid uid
System.Nullable<EntityUid> stationId
StationLimitedNetworkComponent component
| Improve this Doc View Source

TrySetStationId(EntityUid, StationLimitedNetworkComponent)

Tries to set the station id to the current station if the device is currently on a station

Declaration
public bool TrySetStationId(EntityUid uid, StationLimitedNetworkComponent component = null)
Parameters
Type Name Description
EntityUid uid
StationLimitedNetworkComponent component
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾