Content update for NetEntities (#18935)
This commit is contained in:
@@ -18,8 +18,8 @@ namespace Content.Shared.Kitchen.Components
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class MicrowaveEjectSolidIndexedMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public EntityUid EntityID;
|
||||
public MicrowaveEjectSolidIndexedMessage(EntityUid entityId)
|
||||
public NetEntity EntityID;
|
||||
public MicrowaveEjectSolidIndexedMessage(NetEntity entityId)
|
||||
{
|
||||
EntityID = entityId;
|
||||
}
|
||||
@@ -50,12 +50,12 @@ namespace Content.Shared.Kitchen.Components
|
||||
[NetSerializable, Serializable]
|
||||
public sealed class MicrowaveUpdateUserInterfaceState : BoundUserInterfaceState
|
||||
{
|
||||
public EntityUid[] ContainedSolids;
|
||||
public NetEntity[] ContainedSolids;
|
||||
public bool IsMicrowaveBusy;
|
||||
public int ActiveButtonIndex;
|
||||
public uint CurrentCookTime;
|
||||
|
||||
public MicrowaveUpdateUserInterfaceState(EntityUid[] containedSolids,
|
||||
public MicrowaveUpdateUserInterfaceState(NetEntity[] containedSolids,
|
||||
bool isMicrowaveBusy, int activeButtonIndex, uint currentCookTime)
|
||||
{
|
||||
ContainedSolids = containedSolids;
|
||||
|
||||
Reference in New Issue
Block a user