ItemInteractionData
in package
Table of Contents
- $requestChangedSlots : array<string|int, mixed>
- $requestId : int
- $transactionData : UseItemTransactionData
- __construct() : mixed
- getRequestChangedSlots() : array<string|int, InventoryTransactionChangedSlotsHack>
- getRequestId() : int
- getTransactionData() : UseItemTransactionData
- read() : self
- write() : void
Properties
$requestChangedSlots
private
array<string|int, mixed>
$requestChangedSlots
$requestId
private
int
$requestId
$transactionData
private
UseItemTransactionData
$transactionData
Methods
__construct()
public
__construct(int $requestId, array<string|int, InventoryTransactionChangedSlotsHack> $requestChangedSlots, UseItemTransactionData $transactionData) : mixed
Parameters
- $requestId : int
- $requestChangedSlots : array<string|int, InventoryTransactionChangedSlotsHack>
- $transactionData : UseItemTransactionData
Return values
mixed —getRequestChangedSlots()
public
getRequestChangedSlots() : array<string|int, InventoryTransactionChangedSlotsHack>
Return values
array<string|int, InventoryTransactionChangedSlotsHack> —getRequestId()
public
getRequestId() : int
Return values
int —getTransactionData()
public
getTransactionData() : UseItemTransactionData
Return values
UseItemTransactionData —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer