Files
Delta-v/Content.Shared/Chemistry/SharedTransferAmount.cs
T
c7077a388c Predict reagent grinder (#42815)
* prediction!!!

* fixes

* fixes and add debug logs

* fix prediction and cleanup

* raise event on client + comp access

* reapply power state changes

* Update Content.Client/Kitchen/EntitySystems/ReagentGrinderSystem.cs

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>

* Update Content.Shared/Kitchen/Components/ReagentGrinderComponent.cs

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>

* comments and prefilled grinder protos

* t

---------

Co-authored-by: ScarKy0 <106310278+ScarKy0@users.noreply.github.com>
Co-authored-by: ScarKy0 <scarky0@onet.eu>
2026-06-29 12:44:09 +02:00

24 lines
594 B
C#

using Content.Shared.FixedPoint;
using Robust.Shared.Serialization;
namespace Content.Shared.Chemistry
{
/// <summary>
/// Sent by the client when setting the transfer amount using the BUI.
/// </summary>
[Serializable, NetSerializable]
public sealed class TransferAmountSetValueMessage(FixedPoint2 value) : BoundUserInterfaceMessage
{
/// <summary>
/// The new transfer amount.
/// </summary>
public FixedPoint2 Value = value;
}
[Serializable, NetSerializable]
public enum TransferAmountUiKey
{
Key,
}
}