Interface | Description |
---|---|
BankAccount |
Represents a storage of an economy for a given entity
|
BankAccountManager |
Interface responsible for getting a bank account for a particular ServerPlayerEntity or UUID.
|
Class | Description |
---|---|
BankAccountProxy |
Static factory for managing pixelmon bank accounts
|
EconomyEvent |
Superclass of all events relating to the economy
|
EconomyEvent.GetBalance |
Event fired when getting the balance of the player through the default
BankAccount implementation (PlayerPartyStorage )
For any economy bridges, this event MUST be listened to and the balance MUST be assigned in case someone uses the
PlayerPartyStorage methods for getting the balance
The methods in PlayerPartyStorage exist for the case of single player
or any instances where no other BankAccount implementation is provided |
EconomyEvent.PostTransaction |
Event fired just after a transaction is applied to the
BankAccount |
EconomyEvent.PreTransaction |
Event fired just before a transaction is applied to the
BankAccount
If cancelled the transaction will not take place |
EconomyEvent.SetBalance |
Event fired when setting the balance of the player through the default
BankAccount implementation (PlayerPartyStorage )
For any economy bridges, this event MUST be listened to and the balance MUST be assigned in case someone uses the
PlayerPartyStorage methods for setting the balance
The methods in PlayerPartyStorage exist for the case of single player
or any instances where no other BankAccount implementation is provided |
Enum | Description |
---|---|
EconomyEvent.TransactionType |
An enum representing the type of transaction
|