Skip to main content

AtmBalanceChangeData

A class in Root.Township, ATT.PlayerStates.

Payload of the ConsoleEvents.AtmBalanceChanged console event, raised on the server when an ATM changes a player's bank balance.

Constructors​

MemberWhat it is
AtmBalanceChangeData()Creates an AtmBalanceChangeData with default values.

Fields​

MemberWhat it is
int ChangeNew balance minus the previous balance, so negative for a withdrawal.
int CurrentBalanceThe player's balance after the change.
UserInfo UserThe player whose bank account changed.

Used in​

Members of other types that take, return or hold a AtmBalanceChangeData: