public class CashCreeperCommonProxy
extends java.lang.Object
Constructor and Description |
---|
CashCreeperCommonProxy() |
Modifier and Type | Method and Description |
---|---|
boolean |
accountHasAmount(java.lang.String accountName,
int amount) |
void |
addDepositListener(DepositListenerInterface listener) |
void |
addTransactionListener(TransactionListenerInterface listener) |
void |
addWithdrawalListener(WithdrawalListenerInterface listener) |
void |
handleVotifierVote(java.lang.String voteText)
Deposits from Votifier votes do not notify deposit listeners
|
TransactionResponse |
makeTransaction(java.lang.String fromAccountName,
java.lang.String toAccountName,
int amount,
java.lang.String description,
java.lang.String itemID,
int quantity)
Attempts to perform a symmetric transaction.
|
TransactionResponse |
makeTransaction(java.lang.String fromAccountName,
java.lang.String toAccountName,
java.lang.String description,
int amount)
Use this method to perform a cash only transaction
|
TransactionResponse |
makeTransaction(TransactionEvent e)
Attempts to perform a transaction.
|
void |
preInit(cpw.mods.fml.common.event.FMLPreInitializationEvent event) |
void |
removeDepositListener(DepositListenerInterface listener) |
void |
removeTransactionListener(TransactionListenerInterface listener) |
void |
removeWithdrawalListener(WithdrawalListenerInterface listener) |
void |
serverStarting(cpw.mods.fml.common.event.FMLServerStartingEvent event) |
void |
serverStopping(cpw.mods.fml.common.event.FMLServerStoppingEvent event) |
void |
testIt() |
public void preInit(cpw.mods.fml.common.event.FMLPreInitializationEvent event)
public void serverStarting(cpw.mods.fml.common.event.FMLServerStartingEvent event)
public void serverStopping(cpw.mods.fml.common.event.FMLServerStoppingEvent event)
public void addWithdrawalListener(WithdrawalListenerInterface listener)
public void removeWithdrawalListener(WithdrawalListenerInterface listener)
public void addDepositListener(DepositListenerInterface listener)
public void removeDepositListener(DepositListenerInterface listener)
public void addTransactionListener(TransactionListenerInterface listener)
public void removeTransactionListener(TransactionListenerInterface listener)
public TransactionResponse makeTransaction(TransactionEvent e)
public TransactionResponse makeTransaction(java.lang.String fromAccountName, java.lang.String toAccountName, int amount, java.lang.String description, java.lang.String itemID, int quantity)
public TransactionResponse makeTransaction(java.lang.String fromAccountName, java.lang.String toAccountName, java.lang.String description, int amount)
public boolean accountHasAmount(java.lang.String accountName, int amount)
public void handleVotifierVote(java.lang.String voteText)
public void testIt()