Class GatewayBoundUserInterfaceState
Inheritance
System.Object
GatewayBoundUserInterfaceState
Namespace: Content.Shared.Gateway
Assembly: Content.Shared.dll
Syntax
public sealed class GatewayBoundUserInterfaceState : BoundUserInterfaceState
Constructors
| Improve this Doc View SourceGatewayBoundUserInterfaceState(List<(NetEntity, String, TimeSpan, Boolean)>, Nullable<NetEntity>, TimeSpan, TimeSpan)
Declaration
public GatewayBoundUserInterfaceState(List<(NetEntity, string, TimeSpan, bool)> destinations, NetEntity? current, TimeSpan nextClose, TimeSpan lastOpen)
Parameters
Type | Name | Description |
---|---|---|
List<System.ValueTuple<NetEntity, System.String, TimeSpan, System.Boolean>> | destinations | |
System.Nullable<NetEntity> | current | |
TimeSpan | nextClose | |
TimeSpan | lastOpen |
Fields
| Improve this Doc View SourceCurrent
Which destination it is currently linked to, if any.
Declaration
public readonly NetEntity? Current
Field Value
Type | Description |
---|---|
System.Nullable<NetEntity> |
Destinations
List of enabled destinations and information about them.
Declaration
public readonly List<(NetEntity, string, TimeSpan, bool)> Destinations
Field Value
Type | Description |
---|---|
List<System.ValueTuple<NetEntity, System.String, TimeSpan, System.Boolean>> |
LastOpen
Time the portal last opened at.
Declaration
public readonly TimeSpan LastOpen
Field Value
Type | Description |
---|---|
TimeSpan |
NextClose
Time the portal will close at.
Declaration
public readonly TimeSpan NextClose
Field Value
Type | Description |
---|---|
TimeSpan |