ItemStackRequest
Table of Contents
-
$actions
: array<string|int, mixed>
-
$filterStrings
: array<string|int, mixed>
-
$requestId
: int
-
__construct()
: mixed
-
getActions()
: array<string|int, ItemStackRequestAction>
-
getFilterStrings()
: array<string|int, string>
-
getRequestId()
: int
-
read()
: self
-
write()
: void
-
readAction()
: ItemStackRequestAction
$actions
private
array<string|int, mixed>
$actions
$filterStrings
private
array<string|int, mixed>
$filterStrings
-
phpstan-var
-
$requestId
private
int
$requestId
__construct()
public
__construct(int $requestId, array<string|int, ItemStackRequestAction> $actions, array<string|int, string> $filterStrings) : mixed
Parameters
-
$requestId
: int
-
-
$actions
: array<string|int, ItemStackRequestAction>
-
-
$filterStrings
: array<string|int, string>
-
-
phpstan-param
-
Return values
mixed
—
getActions()
public
getActions() : array<string|int, ItemStackRequestAction>
Return values
array<string|int, ItemStackRequestAction>
—
getFilterStrings()
public
getFilterStrings() : array<string|int, string>
-
phpstan-return
-
Return values
array<string|int, string>
—
getRequestId()
public
getRequestId() : int
Return values
int
—
read()
public
static read(PacketSerializer $in) : self
Parameters
-
$in
: PacketSerializer
-
Return values
self
—
write()
public
write(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—
readAction()
private
static readAction(PacketSerializer $in, int $typeId) : ItemStackRequestAction
Parameters
-
$in
: PacketSerializer
-
-
$typeId
: int
-
-
throws
-
BinaryDataException
-
throws
-
PacketDecodeException
Return values
ItemStackRequestAction
—