// Withdraw the specified amount
Code:
bool success = Banker.Withdraw( from, amount );

// Attempt to deposit the full amount.
Code:
bool success = Banker.Deposit( from, amount );

// Deposit up to a certain amount and return the amount deposited.
Code:
int deposited = Banker.DepositUpTo( from, amount );

// Deposit directly to any container (backpack example)
Code:
Banker.Deposit( from.Backpack, amount );

The Banker methods are backed by the AccountGold system and that will be used if it is enabled.
 
Back