31 lines
818 B
C#
31 lines
818 B
C#
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared._NF.Lathe;
|
|
|
|
/// <summary>
|
|
/// Sent to the server to remove an item from the queue.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class LatheDeleteRequestMessage(int index) : BoundUserInterfaceMessage
|
|
{
|
|
public int Index = index;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Sent to the server to move the position of an item in the queue.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class LatheMoveRequestMessage(int index, int change) : BoundUserInterfaceMessage
|
|
{
|
|
public int Index = index;
|
|
public int Change = change;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Sent to the server to stop producing the current item.
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public sealed class LatheAbortFabricationMessage() : BoundUserInterfaceMessage
|
|
{
|
|
}
|