PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\network\mcpe\protocol\types\inventory\TransactionData Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\inventory\TransactionData:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\TransactionData:

Public Member Functions

 decode (PacketSerializer $stream)
 
 encode (PacketSerializer $stream)
 
 getActions ()
 
 getTypeId ()
 

Protected Member Functions

 decodeData (PacketSerializer $stream)
 
 encodeData (PacketSerializer $stream)
 

Protected Attributes

array $actions = []
 

Detailed Description

Definition at line 22 of file TransactionData.php.

Member Function Documentation

◆ decode()

pocketmine\network\mcpe\protocol\types\inventory\TransactionData::decode ( PacketSerializer  $stream)
final
Exceptions
BinaryDataException
PacketDecodeException

Definition at line 39 of file TransactionData.php.

◆ decodeData()

◆ encode()

pocketmine\network\mcpe\protocol\types\inventory\TransactionData::encode ( PacketSerializer  $stream)
final

Definition at line 53 of file TransactionData.php.

◆ getActions()

pocketmine\network\mcpe\protocol\types\inventory\TransactionData::getActions ( )
final
Returns
NetworkInventoryAction[]

Definition at line 29 of file TransactionData.php.

Member Data Documentation

◆ $actions

array pocketmine\network\mcpe\protocol\types\inventory\TransactionData::$actions = []
protected

Definition at line 24 of file TransactionData.php.


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