PocketMine
BaseTransaction Class Reference
Inheritance diagram for BaseTransaction:
Transaction

Public Member Functions

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

Protected Attributes

 $inventory
 
 $slot
 
 $sourceItem
 
 $targetItem
 
 $creationTime
 

Constructor & Destructor Documentation

__construct ( Inventory  $inventory,
  $slot,
Item  $sourceItem,
Item  $targetItem 
)
Parameters
Inventory$inventory
int$slot
Item$sourceItem
Item$targetItem

Member Function Documentation

getCreationTime ( )
Returns
float

Implements Transaction.

getInventory ( )
Returns
Inventory

Implements Transaction.

getSlot ( )
Returns
int

Implements Transaction.

getSourceItem ( )
Returns
Item

Implements Transaction.

getTargetItem ( )
Returns
Item

Implements Transaction.


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