public static class EconomyEvent.PreTransactionEvent extends EconomyEvent
EconomyEvent.GetBalanceEvent, EconomyEvent.PostTransactionEvent, EconomyEvent.PreTransactionEvent, EconomyEvent.transactionType
Modifier and Type | Field and Description |
---|---|
int |
balance
The balance before this modification
|
int |
change
The change to be made to the balance.
|
EconomyEvent.transactionType |
type
The type of transaction, either transactionType.withdrawal or transactionType.deposit
|
player
Constructor and Description |
---|
PreTransactionEvent(net.minecraft.entity.player.EntityPlayerMP player,
EconomyEvent.transactionType type,
int balance,
int change) |
public final EconomyEvent.transactionType type
public final int balance
public int change
public PreTransactionEvent(net.minecraft.entity.player.EntityPlayerMP player, EconomyEvent.transactionType type, int balance, int change)