Package | Description |
---|---|
de.byteandbit.velociraptor.api.events.purchase | |
de.byteandbit.velociraptor.api.events.sell | |
de.byteandbit.velociraptor.api.stats |
Modifier and Type | Field and Description |
---|---|
protected Map<Item,Integer> |
PurchaseEvent.acceptedItems |
protected Set<Item> |
PurchaseEvent.items |
Modifier and Type | Method and Description |
---|---|
Set<Item> |
PurchaseEvent.getAcceptedItems()
Gibt die akzeptierten Items zurück.
|
Set<Item> |
PurchaseEvent.getItems()
Gibt die Items zurück, die der Spieler eingelegt hat.
|
Modifier and Type | Method and Description |
---|---|
int |
PurchaseEvent.getAmountOf(Item item) |
Constructor and Description |
---|
AfterPurchaseEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount) |
AfterPurchaseEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount) |
PurchaseAbortedEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount,
PurchaseAbortedEvent.AbortReason reason) |
PurchaseAbortedEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount,
PurchaseAbortedEvent.AbortReason reason) |
PurchaseEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount) |
PurchaseEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount) |
PurchasePrePayEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount) |
PurchasePrePayEvent(String playerName,
String playerUUID,
Set<Item> items,
Map<Item,Integer> acceptedItems,
double payAmount) |
Modifier and Type | Field and Description |
---|---|
protected Map<Item,Integer> |
SellEvent.items |
Modifier and Type | Method and Description |
---|---|
Set<Item> |
SellEvent.getItems()
Gibt die verkauften Items zurück, falls diese bereits erkannt wurden.
|
Modifier and Type | Method and Description |
---|---|
int |
SellEvent.getAmountOf(Item item)
Gibt die Anzahl zurück, wie oft ein Item gedroppt / verkauft wurde.
|
Constructor and Description |
---|
AfterSellEvent(String playerName,
String playerUUID,
Map<Item,Integer> items,
double payAmount) |
SellAbortedEvent(String playerName,
String playerUUID,
Map<Item,Integer> items,
double payAmount,
SellAbortedEvent.AbortReason reason) |
SellDetectedEvent(String playerName,
String playerUUID,
Map<Item,Integer> items,
double payAmount) |
SellEvent(String playerName,
String playerUUID,
Map<Item,Integer> items,
double payAmount) |
SellPreDropEvent(String playerName,
String playerUUID,
Map<Item,Integer> items,
double payAmount) |
Modifier and Type | Method and Description |
---|---|
void |
StatsAPI.addItemStat(StatType type,
double money,
Item item,
int amount)
Fügt eine Itemstatistik hinzu.
|
Copyright © 2023. All rights reserved.