6
StarHorizon_Public/Content.Shared/_NF/Bank/BUI/BankATMMenuInterfaceState.cs
2026-01-24 12:49:55 +03:00

30 lines
659 B
C#

using Robust.Shared.Serialization;
namespace Content.Shared._NF.Bank.BUI;
[NetSerializable, Serializable]
public sealed class BankATMMenuInterfaceState : BoundUserInterfaceState
{
/// <summary>
/// bank balance of the character using the atm
/// </summary>
public int Balance;
/// <summary>
/// are the buttons enabled
/// </summary>
public bool Enabled;
/// <summary>
/// how much cash is inserted
/// </summary>
public int Deposit;
public BankATMMenuInterfaceState(int balance, bool enabled, int deposit)
{
Balance = balance;
Enabled = enabled;
Deposit = deposit;
}
}