|
Genisys
Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
|
Public Member Functions | |
| __construct (Item $droppedItem) | |
| setSourceItem (Item $item) | |
| getInventory () | |
| getSlot () | |
| sendSlotUpdate (Player $source) | |
| getChange () | |
| execute (Player $source) | |
Public Member Functions inherited from BaseTransaction | |
| __construct ($inventory, $slot, Item $targetItem, $achievements=[], $transactionType=Transaction::TYPE_NORMAL) | |
| getCreationTime () | |
| getInventory () | |
| getSlot () | |
| getTargetItem () | |
| setTargetItem (Item $item) | |
| getFailures () | |
| addFailure () | |
| succeeded () | |
| setSuccess ($value=true) | |
| getTransactionType () | |
| getAchievements () | |
| hasAchievements () | |
| addAchievement (string $achievementName) | |
| sendSlotUpdate (Player $source) | |
| getChange () | |
| execute (Player $source) | |
Data Fields | |
| const | TRANSACTION_TYPE = Transaction::TYPE_DROP_ITEM |
Data Fields inherited from Transaction | |
| const | TYPE_NORMAL = 0 |
| const | TYPE_DROP_ITEM = 1 |
Protected Attributes | |
| $inventory = null | |
| $slot = null | |
| $sourceItem = null | |
Protected Attributes inherited from BaseTransaction | |
| $inventory | |
| $slot | |
| $targetItem | |
| $creationTime | |
| $transactionType = Transaction::TYPE_NORMAL | |
| $failures = 0 | |
| $wasSuccessful = false | |
| $achievements = [] | |
| __construct | ( | Item | $droppedItem | ) |
| Item | $droppedItem |
| execute | ( | Player | $source | ) |
| getInventory | ( | ) |
Implements Transaction.
| getSlot | ( | ) |
Implements Transaction.