DeprecatedCraftingResultsStackRequestAction
extends ItemStackRequestAction
in package
Uses
GetTypeIdFromConstTrait
Not clear what this is needed for, but it is very clearly marked as deprecated, so hopefully it'll go away before I have to write a proper description for it.
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_RESULTS_DEPRECATED_ASK_TY_LAING
- $iterations : int
- $results : array<string|int, mixed>
- __construct() : mixed
- getIterations() : int
- getResults() : array<string|int, ItemStack>
- getTypeId() : int
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::CRAFTING_RESULTS_DEPRECATED_ASK_TY_LAING
Properties
$iterations
private
int
$iterations
$results
private
array<string|int, mixed>
$results
Methods
__construct()
public
__construct(array<string|int, ItemStack> $results, int $iterations) : mixed
Parameters
- $results : array<string|int, ItemStack>
- $iterations : int
Return values
mixed —getIterations()
public
getIterations() : int
Return values
int —getResults()
public
getResults() : array<string|int, ItemStack>
Return values
array<string|int, ItemStack> —getTypeId()
public
abstract getTypeId() : 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