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

42 lines
998 B
C#

using Content.Shared.Containers.ItemSlots;
using Content.Shared.Stacks;
using Robust.Shared.Audio;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared._NF.Bank.Components;
[RegisterComponent, NetworkedComponent]
public sealed partial class StationBankATMComponent : Component
{
[DataField]
public ProtoId<StackPrototype> CashType = "Credit";
public static string CashSlotId = "station-bank-ATM-cashSlot";
[DataField]
public ItemSlot CashSlot = new();
[DataField]
public SectorBankAccount Account = SectorBankAccount.Invalid;
[DataField]
public SoundSpecifier ErrorSound =
new SoundPathSpecifier("/Audio/Effects/Cargo/buzz_sigh.ogg");
[DataField]
public SoundSpecifier ConfirmSound =
new SoundPathSpecifier("/Audio/Effects/Cargo/ping.ogg");
}
public enum SectorBankAccount : byte
{
Invalid, // No assigned account.
Frontier,
Nfsd,
Medical,
Edison,
Trauma, // Horizon
}