MismatchTransactionData
extends TransactionData
in package
Uses
GetTypeIdFromConstTrait
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\InventoryTransactionPacket::TYPE_MISMATCH
- $actions : array<string|int, mixed>
- decode() : void
- encode() : void
- getActions() : array<string|int, NetworkInventoryAction>
- getTypeId() : int
- new() : self
- decodeData() : void
- encodeData() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\InventoryTransactionPacket::TYPE_MISMATCH
Properties
$actions
protected
array<string|int, mixed>
$actions
= []
Methods
decode()
public
final decode(PacketSerializer $stream) : void
Parameters
- $stream : PacketSerializer
Tags
Return values
void —encode()
public
final encode(PacketSerializer $stream) : void
Parameters
- $stream : PacketSerializer
Return values
void —getActions()
public
final getActions() : array<string|int, NetworkInventoryAction>
Return values
array<string|int, NetworkInventoryAction> —getTypeId()
public
abstract getTypeId() : int
Return values
int —new()
public
static new() : self
Return values
self —decodeData()
protected
decodeData(PacketSerializer $stream) : void
Parameters
- $stream : PacketSerializer
Return values
void —encodeData()
protected
encodeData(PacketSerializer $stream) : void
Parameters
- $stream : PacketSerializer