mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
ItemStackRequest: expose filterStrings
This commit is contained in:
parent
bc14660e55
commit
317a48d9b0
@ -54,6 +54,12 @@ final class ItemStackRequest{
|
||||
/** @return ItemStackRequestAction[] */
|
||||
public function getActions() : array{ return $this->actions; }
|
||||
|
||||
/**
|
||||
* @return string[]
|
||||
* @phpstan-return list<string>
|
||||
*/
|
||||
public function getFilterStrings() : array{ return $this->filterStrings; }
|
||||
|
||||
private static function readAction(NetworkBinaryStream $in, int $typeId) : ItemStackRequestAction{
|
||||
switch($typeId){
|
||||
case TakeStackRequestAction::getTypeId(): return TakeStackRequestAction::read($in);
|
||||
|
Loading…
x
Reference in New Issue
Block a user