Class BankAccountUtils
Functions for accessing and manipulating bank accounts
Inheritance
System.Object
BankAccountUtils
Namespace: Eco.Gameplay.Economy.Money
Assembly: Eco.Gameplay.dll
Syntax
public static class BankAccountUtils : Object
Methods
AskUserForBankAccount(User, Nullable<LocString>)
Presents a dialog for the user to choose a bank account. If only one, automatically chooses it.
Declaration
public static Task<BankAccount> AskUserForBankAccount(User user, Nullable<LocString> title = null)
Parameters
| Type | Name | Description |
|---|---|---|
| User | user | |
| System.Nullable<LocString> | title |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<BankAccount> |
GetNonGovernmentAccountsAccessibleToUser(User, Currency)
Declaration
public static IEnumerable<BankAccount> GetNonGovernmentAccountsAccessibleToUser(User user, Currency currency)
Parameters
| Type | Name | Description |
|---|---|---|
| User | user | |
| Currency | currency |
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<BankAccount> |