PocketMine-MP 5.39.3 git-400eb2dddf91a9c112aa09f3b498ffc8c85e98ed
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData:

Public Member Functions

 decode (ByteBufferReader $in)
 
 encode (ByteBufferWriter $out)
 
 getActions ()
 
 getTypeId ()
 

Static Public Member Functions

static new (array $actions)
 

Public Attributes

const ID = InventoryTransactionPacket::TYPE_NORMAL
 

Protected Member Functions

 decodeData (ByteBufferReader $in)
 
 encodeData (ByteBufferWriter $out)
 

Protected Attributes

array $actions = []
 

Detailed Description

Definition at line 22 of file NormalTransactionData.php.

Member Function Documentation

◆ decode()

pocketmine\network\mcpe\protocol\types\inventory\TransactionData::decode ( ByteBufferReader $in)
finalinherited
Exceptions
DataDecodeException
PacketDecodeException

Definition at line 41 of file TransactionData.php.

◆ decodeData()

pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData::decodeData ( ByteBufferReader $in)
protected
Exceptions
DataDecodeException
PacketDecodeException

Reimplemented from pocketmine\network\mcpe\protocol\types\inventory\TransactionData.

Definition at line 27 of file NormalTransactionData.php.

◆ encode()

pocketmine\network\mcpe\protocol\types\inventory\TransactionData::encode ( ByteBufferWriter $out)
finalinherited

Definition at line 55 of file TransactionData.php.

◆ encodeData()

pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData::encodeData ( ByteBufferWriter $out)
protected

◆ getActions()

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

Definition at line 31 of file TransactionData.php.

◆ new()

static pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData::new ( array $actions)
static
Parameters
NetworkInventoryAction[]$actions

Definition at line 38 of file NormalTransactionData.php.

Member Data Documentation

◆ $actions

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

Definition at line 26 of file TransactionData.php.

◆ ID

const pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData::ID = InventoryTransactionPacket::TYPE_NORMAL

Definition at line 25 of file NormalTransactionData.php.


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