PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\inventory\BaseTransaction Class Reference
+ Inheritance diagram for pocketmine\inventory\BaseTransaction:
+ Collaboration diagram for pocketmine\inventory\BaseTransaction:

Public Member Functions

 __construct (Inventory $inventory, $slot, Item $sourceItem, Item $targetItem)
 
 getCreationTime ()
 
 getInventory ()
 
 getSlot ()
 
 getSourceItem ()
 
 getTargetItem ()
 

Protected Attributes

 $inventory
 
 $slot
 
 $sourceItem
 
 $targetItem
 
 $creationTime
 

Detailed Description

Definition at line 26 of file BaseTransaction.php.

Constructor & Destructor Documentation

pocketmine\inventory\BaseTransaction::__construct ( Inventory  $inventory,
  $slot,
Item  $sourceItem,
Item  $targetItem 
)
Parameters
Inventory$inventory
int$slot
Item$sourceItem
Item$targetItem

Definition at line 44 of file BaseTransaction.php.

Member Function Documentation

pocketmine\inventory\BaseTransaction::getCreationTime ( )
Returns
float

Implements pocketmine\inventory\Transaction.

Definition at line 52 of file BaseTransaction.php.

pocketmine\inventory\BaseTransaction::getInventory ( )
Returns
Inventory

Implements pocketmine\inventory\Transaction.

Definition at line 56 of file BaseTransaction.php.

pocketmine\inventory\BaseTransaction::getSlot ( )
Returns
int

Implements pocketmine\inventory\Transaction.

Definition at line 60 of file BaseTransaction.php.

pocketmine\inventory\BaseTransaction::getSourceItem ( )
Returns
Item

Implements pocketmine\inventory\Transaction.

Definition at line 64 of file BaseTransaction.php.

pocketmine\inventory\BaseTransaction::getTargetItem ( )
Returns
Item

Implements pocketmine\inventory\Transaction.

Definition at line 68 of file BaseTransaction.php.


The documentation for this class was generated from the following file: