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;
|
||||
|
||||
@@ -32,8 +32,8 @@ namespace Content.Shared.Kitchen
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class ReagentGrinderEjectChamberContentMessage : BoundUserInterfaceMessage
|
||||
{
|
||||
public EntityUid EntityId;
|
||||
public ReagentGrinderEjectChamberContentMessage(EntityUid entityId)
|
||||
public NetEntity EntityId;
|
||||
public ReagentGrinderEjectChamberContentMessage(NetEntity entityId)
|
||||
{
|
||||
EntityId = entityId;
|
||||
}
|
||||
@@ -84,9 +84,9 @@ namespace Content.Shared.Kitchen
|
||||
public bool Powered;
|
||||
public bool CanJuice;
|
||||
public bool CanGrind;
|
||||
public EntityUid[] ChamberContents;
|
||||
public NetEntity[] ChamberContents;
|
||||
public ReagentQuantity[]? ReagentQuantities;
|
||||
public ReagentGrinderInterfaceState(bool isBusy, bool hasBeaker, bool powered, bool canJuice, bool canGrind, EntityUid[] chamberContents, ReagentQuantity[]? heldBeakerContents)
|
||||
public ReagentGrinderInterfaceState(bool isBusy, bool hasBeaker, bool powered, bool canJuice, bool canGrind, NetEntity[] chamberContents, ReagentQuantity[]? heldBeakerContents)
|
||||
{
|
||||
IsBusy = isBusy;
|
||||
HasBeakerIn = hasBeaker;
|
||||
|
||||
Reference in New Issue
Block a user