Content update for NetEntities (#18935)
This commit is contained in:
@@ -26,12 +26,12 @@ public sealed class GatewayBoundUserInterfaceState : BoundUserInterfaceState
|
||||
/// <summary>
|
||||
/// List of enabled destinations and information about them.
|
||||
/// </summary>
|
||||
public readonly List<(EntityUid, string, TimeSpan, bool)> Destinations;
|
||||
public readonly List<(NetEntity, string, TimeSpan, bool)> Destinations;
|
||||
|
||||
/// <summary>
|
||||
/// Which destination it is currently linked to, if any.
|
||||
/// </summary>
|
||||
public readonly EntityUid? Current;
|
||||
public readonly NetEntity? Current;
|
||||
|
||||
/// <summary>
|
||||
/// Time the portal will close at.
|
||||
@@ -43,8 +43,8 @@ public sealed class GatewayBoundUserInterfaceState : BoundUserInterfaceState
|
||||
/// </summary>
|
||||
public readonly TimeSpan LastOpen;
|
||||
|
||||
public GatewayBoundUserInterfaceState(List<(EntityUid, string, TimeSpan, bool)> destinations,
|
||||
EntityUid? current, TimeSpan nextClose, TimeSpan lastOpen)
|
||||
public GatewayBoundUserInterfaceState(List<(NetEntity, string, TimeSpan, bool)> destinations,
|
||||
NetEntity? current, TimeSpan nextClose, TimeSpan lastOpen)
|
||||
{
|
||||
Destinations = destinations;
|
||||
Current = current;
|
||||
@@ -56,9 +56,9 @@ public sealed class GatewayBoundUserInterfaceState : BoundUserInterfaceState
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class GatewayOpenPortalMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public EntityUid Destination;
|
||||
public NetEntity Destination;
|
||||
|
||||
public GatewayOpenPortalMessage(EntityUid destination)
|
||||
public GatewayOpenPortalMessage(NetEntity destination)
|
||||
{
|
||||
Destination = destination;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user