Class GlobalAccountObserver
java.lang.Object
com.palmergames.bukkit.towny.object.economy.GlobalAccountObserver
- All Implemented Interfaces:
AccountObserver
A class which performs audits on ALL account transactions.
- Author:
- Suneet Tipirneni (Siris)
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
GlobalAccountObserver
public GlobalAccountObserver()
-
-
Method Details
-
withdrew
Description copied from interface:AccountObserver
Called whenever an account money is withdrawn from an account.- Specified by:
withdrew
in interfaceAccountObserver
- Parameters:
account
- The account withdrew from.amount
- The amount withdrew.reason
- The reason for withdrawing.
-
deposited
Description copied from interface:AccountObserver
Called whenever an account money is deposited to an account.- Specified by:
deposited
in interfaceAccountObserver
- Parameters:
account
- The account deposited to.amount
- The amount deposited.reason
- The reason for depositing.
-