2023-10-02 16:50:02 +09:00
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
2024-01-28 18:37:24 +07:00
|
|
|
|
namespace Content.Shared._White.Economy;
|
2023-10-02 16:50:02 +09:00
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public sealed class ATMRequestWithdrawMessage : BoundUserInterfaceMessage
|
|
|
|
|
|
{
|
|
|
|
|
|
public int Amount;
|
|
|
|
|
|
public int Pin;
|
|
|
|
|
|
|
|
|
|
|
|
public ATMRequestWithdrawMessage(int amount, int pin)
|
|
|
|
|
|
{
|
|
|
|
|
|
Amount = amount;
|
|
|
|
|
|
Pin = pin;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
|
public sealed class ATMBuiState : BoundUserInterfaceState
|
|
|
|
|
|
{
|
|
|
|
|
|
public bool HasCard;
|
|
|
|
|
|
public string InfoMessage = string.Empty;
|
|
|
|
|
|
public int AccountBalance;
|
|
|
|
|
|
}
|