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 SourceInitialize()
Declaration
public override void Initialize()
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 |
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 |