PocketMine-MP 5.41.1 git-dec84fe67dc3319e33f5066e5d03b16f00f2ff4c
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo:

Public Member Functions

 __construct (private int $actionType, private BlockPosition $blockPosition, private int $face)
 
 getActionType ()
 
 getBlockPosition ()
 
 getFace ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static isValidActionType (int $actionType)
 
static read (ByteBufferReader $in, int $actionType)
 

Detailed Description

This is used for PlayerAuthInput packet when the flags include PERFORM_BLOCK_ACTIONS

Definition at line 25 of file PlayerBlockActionWithBlockInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::__construct ( private int $actionType,
private BlockPosition $blockPosition,
private int $face )

Definition at line 26 of file PlayerBlockActionWithBlockInfo.php.

Member Function Documentation

◆ getActionType()

pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::getActionType ( )

◆ getBlockPosition()

pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::getBlockPosition ( )

Definition at line 38 of file PlayerBlockActionWithBlockInfo.php.

◆ getFace()

pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::getFace ( )

Definition at line 40 of file PlayerBlockActionWithBlockInfo.php.

◆ isValidActionType()

static pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::isValidActionType ( int $actionType)
static

Definition at line 53 of file PlayerBlockActionWithBlockInfo.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::read ( ByteBufferReader $in,
int $actionType )
static

Definition at line 42 of file PlayerBlockActionWithBlockInfo.php.

◆ write()

pocketmine\network\mcpe\protocol\types\PlayerBlockActionWithBlockInfo::write ( ByteBufferWriter $out)

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