TradeCommandModule.ATMCommandModule
A static class in Root.Township, Alta.Console.Commands.
Console submodule trade atm: reads and changes a player's ATM (bank) gold balance, even when they are offline.
- Listed in Console, logging and analytics
- Nested in
TradeCommandModule - Attributes
Module
Methods
| Member | What it is |
|---|---|
static async Task<int> AddATM(UserInfoAccess user, int quantityToAdd) | trade atm add: adds to the balance (never below 0), saves if the player is not on, and returns the new balance. |
static async Task<int> GetATM(UserInfoAccess user) | trade atm get: returns the player's ATM balance, or 0. |
static async Task SetATM(UserInfoAccess user, int quantity) | trade atm set: sets the player's ATM balance and saves if they are not on. |