Content update for NetEntities (#18935)

This commit is contained in:
metalgearsloth
2023-09-11 09:42:41 +10:00
committed by GitHub
parent 389c8d1a2c
commit 5a0fc68be2
526 changed files with 3058 additions and 2215 deletions

View File

@@ -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;
}