PocketMine-MP 5.23.3 git-4a4572131f27ab967701ceaaf2020cfbe26e375c
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 (PacketSerializer $stream)
 
 encode (PacketSerializer $stream)
 
 getActions ()
 
 getTypeId ()
 

Static Public Member Functions

static new (array $actions)
 

Public Attributes

const ID = InventoryTransactionPacket::TYPE_NORMAL
 

Protected Member Functions

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

Protected Attributes

array $actions = []
 

Detailed Description

Definition at line 21 of file NormalTransactionData.php.

Member Function Documentation

◆ decode()

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

Definition at line 39 of file TransactionData.php.

◆ decodeData()

pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData::decodeData ( PacketSerializer $stream)
protected
Exceptions
BinaryDataException
PacketDecodeException

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

Definition at line 26 of file NormalTransactionData.php.

◆ encode()

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

Definition at line 53 of file TransactionData.php.

◆ encodeData()

pocketmine\network\mcpe\protocol\types\inventory\NormalTransactionData::encodeData ( PacketSerializer $stream)
protected

◆ getActions()

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

Definition at line 29 of file TransactionData.php.

◆ new()

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

Definition at line 37 of file NormalTransactionData.php.

Member Data Documentation

◆ $actions

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

Definition at line 24 of file TransactionData.php.

◆ ID

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

Definition at line 24 of file NormalTransactionData.php.


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