15 lines
439 B
C#
15 lines
439 B
C#
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared._NF.Bank.Components;
|
|
|
|
[RegisterComponent, NetworkedComponent]
|
|
[AutoGenerateComponentState]
|
|
public sealed partial class BankAccountComponent : Component
|
|
{
|
|
// The amount of money this entity has in their bank account.
|
|
// Should not be modified directly, may be out-of-date.
|
|
[DataField, Access(typeof(SharedBankSystem))]
|
|
[AutoNetworkedField]
|
|
public int Balance;
|
|
}
|