C# Class Treasury.TreasuryAccount

Afficher le fichier Open project: NyxStudios/Treasury

Méthodes publiques

Méthode Description
AddOrUpdateAccount ( string bank_name, int amount ) : void

Adds or updates the account for the bank

GetAccount ( string bank_name ) : int

Returns the amount in the bank for this account

TreasuryAccount ( TShockAPI.TSPlayer ply ) : System

Method Details

AddOrUpdateAccount() public méthode

Adds or updates the account for the bank
public AddOrUpdateAccount ( string bank_name, int amount ) : void
bank_name string
amount int
Résultat void

GetAccount() public méthode

Returns the amount in the bank for this account
public GetAccount ( string bank_name ) : int
bank_name string
Résultat int

TreasuryAccount() public méthode

public TreasuryAccount ( TShockAPI.TSPlayer ply ) : System
ply TShockAPI.TSPlayer
Résultat System