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

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 27 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 33 of file ItemStackRequest.php.

Member Function Documentation

◆ getActions()

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

Definition at line 43 of file ItemStackRequest.php.

◆ getFilterStringCause()

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

Definition at line 51 of file ItemStackRequest.php.

◆ getFilterStrings()

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

Definition at line 49 of file ItemStackRequest.php.

◆ getRequestId()

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

Definition at line 40 of file ItemStackRequest.php.

◆ read()

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

Definition at line 81 of file ItemStackRequest.php.

◆ write()

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

Definition at line 96 of file ItemStackRequest.php.


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