public class CashCreeper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static CashCreeper |
instance |
static java.lang.String |
modid |
Constructor and Description |
---|
CashCreeper() |
Modifier and Type | Method and Description |
---|---|
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
|
void |
init(cpw.mods.fml.common.event.FMLInitializationEvent event) |
TransactionResponse |
makeTransaction(java.lang.String fromAccountName,
long fromAmount,
java.lang.String toAccountName,
long toAmount)
Use this method to perform a cash only transaction
|
TransactionResponse |
makeTransaction(java.lang.String fromAccountName,
long fromAmount,
java.lang.String toAccountName,
long toAmount,
java.lang.String itemID,
int quantity)
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) |
public static CashCreeper instance
public static final java.lang.String modid
public void preInit(cpw.mods.fml.common.event.FMLPreInitializationEvent event)
public void init(cpw.mods.fml.common.event.FMLInitializationEvent event)
public void serverStarting(cpw.mods.fml.common.event.FMLServerStartingEvent event)
public void serverStopping(cpw.mods.fml.common.event.FMLServerStoppingEvent event)
public void handleVotifierVote(java.lang.String voteText)
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(java.lang.String fromAccountName, long fromAmount, java.lang.String toAccountName, long toAmount, java.lang.String itemID, int quantity)
public TransactionResponse makeTransaction(java.lang.String fromAccountName, long fromAmount, java.lang.String toAccountName, long toAmount)