PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction:

Public Member Functions

 __construct (private array $results, private int $iterations)
 
 getIterations ()
 
 getResults ()
 
 getTypeId ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Public Attributes

const ID = ItemStackRequestActionType::CRAFTING_RESULTS_DEPRECATED_ASK_TY_LAING
 

Detailed Description

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.

Definition at line 26 of file DeprecatedCraftingResultsStackRequestAction.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::__construct ( private array  $results,
private int  $iterations 
)
Parameters
ItemStack[]$results

Definition at line 34 of file DeprecatedCraftingResultsStackRequestAction.php.

Member Function Documentation

◆ getIterations()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::getIterations ( )

◆ getResults()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::getResults ( )
Returns
ItemStack[]

Definition at line 40 of file DeprecatedCraftingResultsStackRequestAction.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::read ( PacketSerializer  $in)
static

◆ write()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::write ( PacketSerializer  $out)

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::ID = ItemStackRequestActionType::CRAFTING_RESULTS_DEPRECATED_ASK_TY_LAING

The documentation for this class was generated from the following file: