6
StarHorizon_Public/Content.Shared/_NF/Bank/BUI/StationBankATMMenuInterfaceState.cs
2026-01-13 18:31:02 +02:00

35 lines
870 B
C#

/*
* New Frontiers - This file is licensed under AGPLv3
* Copyright (c) 2024 New Frontiers Contributors
* See AGPLv3.txt for details.
*/
using Robust.Shared.Serialization;
namespace Content.Shared._NF.Bank.BUI;
[NetSerializable, Serializable]
public sealed class StationBankATMMenuInterfaceState : 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 (negative values indicate that this is not valid money)
/// </summary>
public int Deposit;
public StationBankATMMenuInterfaceState(int balance, bool enabled, int deposit)
{
Balance = balance;
Enabled = enabled;
Deposit = deposit;
}
}