using Content.Shared.Chemistry.Reagent;
using Robust.Shared.Serialization;
namespace Content.Shared.Kitchen.Components
{
[Serializable, NetSerializable]
public sealed class MicrowaveStartCookMessage : BoundUserInterfaceMessage
}
public sealed class MicrowaveEjectMessage : BoundUserInterfaceMessage
public sealed class MicrowaveEjectSolidIndexedMessage : BoundUserInterfaceMessage
public NetEntity EntityID;
public MicrowaveEjectSolidIndexedMessage(NetEntity entityId)
EntityID = entityId;
public sealed class MicrowaveVaporizeReagentIndexedMessage : BoundUserInterfaceMessage
public ReagentQuantity ReagentQuantity;
public MicrowaveVaporizeReagentIndexedMessage(ReagentQuantity reagentQuantity)
ReagentQuantity = reagentQuantity;
public sealed class MicrowaveSelectCookTimeMessage : BoundUserInterfaceMessage
public int ButtonIndex;
public uint NewCookTime;
public MicrowaveSelectCookTimeMessage(int buttonIndex, uint inputTime)
ButtonIndex = buttonIndex;
NewCookTime = inputTime;
[NetSerializable, Serializable]
public sealed class MicrowaveUpdateUserInterfaceState : BoundUserInterfaceState
public NetEntity[] ContainedSolids;
public bool IsMicrowaveBusy;
public int ActiveButtonIndex;
public uint CurrentCookTime;
public TimeSpan CurrentCookTimeEnd;
public MicrowaveUpdateUserInterfaceState(NetEntity[] containedSolids,
bool isMicrowaveBusy, int activeButtonIndex, uint currentCookTime, TimeSpan currentCookTimeEnd)
ContainedSolids = containedSolids;
IsMicrowaveBusy = isMicrowaveBusy;
ActiveButtonIndex = activeButtonIndex;
CurrentCookTime = currentCookTime;
CurrentCookTimeEnd = currentCookTimeEnd;
public enum MicrowaveVisualState
Idle,
Cooking,
Broken,
Bloody
public enum MicrowaveUiKey
Key