ItemStackResponseContainerInfo
in package
Table of Contents
- $containerId : int
- $slots : array<string|int, mixed>
- __construct() : mixed
- getContainerId() : int
- getSlots() : array<string|int, ItemStackResponseSlotInfo>
- read() : self
- write() : void
Properties
$containerId
private
int
$containerId
$slots
private
array<string|int, mixed>
$slots
Methods
__construct()
public
__construct(int $containerId, array<string|int, ItemStackResponseSlotInfo> $slots) : mixed
Parameters
- $containerId : int
- $slots : array<string|int, ItemStackResponseSlotInfo>
Return values
mixed —getContainerId()
public
getContainerId() : int
Return values
int —getSlots()
public
getSlots() : array<string|int, ItemStackResponseSlotInfo>
Return values
array<string|int, ItemStackResponseSlotInfo> —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer