GenisysPro  for Minecraft PE/Windows 10 v1.1.x
Feature-rich server software for Minecraft PE and Windows 10 Edition
Transaction Interface Reference

Public Member Functions

 getInventory ()
 
 getSlot ()
 
 getTargetItem ()
 
 getSourceItem ()
 
 getCreationTime ()
 
 execute (Player $source)
 

Data Fields

const TYPE_NORMAL = 0
 
const TYPE_DROP_ITEM = 1
 

Member Function Documentation

◆ execute()

execute ( Player  $source)
Parameters
Player$source
Returns
bool

Implemented in BaseTransaction, and DropItemTransaction.

◆ getCreationTime()

getCreationTime ( )
Returns
float

Implemented in BaseTransaction.

◆ getInventory()

getInventory ( )
Returns
Inventory

Implemented in BaseTransaction, and DropItemTransaction.

◆ getSlot()

getSlot ( )
Returns
int

Implemented in BaseTransaction, and DropItemTransaction.

◆ getSourceItem()

getSourceItem ( )
Returns
Item

Implemented in BaseTransaction.

◆ getTargetItem()

getTargetItem ( )
Returns
Item

Implemented in BaseTransaction.

Field Documentation

◆ TYPE_DROP_ITEM

const TYPE_DROP_ITEM = 1

◆ TYPE_NORMAL

const TYPE_NORMAL = 0

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