PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
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 (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $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 30 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 38 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 44 of file DeprecatedCraftingResultsStackRequestAction.php.

◆ read()

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

◆ write()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\DeprecatedCraftingResultsStackRequestAction::write ( ByteBufferWriter $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: