PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest:

Public Member Functions

 __construct (private int $requestId, private array $actions, private array $filterStrings, private int $filterStringCause)
 
 getActions ()
 
 getFilterStringCause ()
 
 getFilterStrings ()
 
 getRequestId ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 22 of file ItemStackRequest.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest::__construct ( private int  $requestId,
private array  $actions,
private array  $filterStrings,
private int  $filterStringCause 
)
Parameters
ItemStackRequestAction[]$actions
string[]$filterStrings@phpstan-param list<string> $filterStrings

Definition at line 28 of file ItemStackRequest.php.

Member Function Documentation

◆ getActions()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest::getActions ( )
Returns
ItemStackRequestAction[]

Definition at line 38 of file ItemStackRequest.php.

◆ getFilterStringCause()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest::getFilterStringCause ( )

Definition at line 46 of file ItemStackRequest.php.

◆ getFilterStrings()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest::getFilterStrings ( )
Returns
string[] @phpstan-return list<string>

Definition at line 44 of file ItemStackRequest.php.

◆ getRequestId()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequest::getRequestId ( )

Definition at line 35 of file ItemStackRequest.php.

◆ read()

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

Definition at line 78 of file ItemStackRequest.php.

◆ write()

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

Definition at line 93 of file ItemStackRequest.php.


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