PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction:
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction:

Public Member Functions

 __construct (private int $primaryEffectId, private int $secondaryEffectId)
 
 getPrimaryEffectId ()
 
 getSecondaryEffectId ()
 
 getTypeId ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Public Attributes

const ID = ItemStackRequestActionType::BEACON_PAYMENT
 

Detailed Description

Completes a transaction involving a beacon consuming input to produce effects.

Definition at line 25 of file BeaconPaymentStackRequestAction.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction::__construct ( private int $primaryEffectId,
private int $secondaryEffectId )

Definition at line 30 of file BeaconPaymentStackRequestAction.php.

Member Function Documentation

◆ getPrimaryEffectId()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction::getPrimaryEffectId ( )

Definition at line 35 of file BeaconPaymentStackRequestAction.php.

◆ getSecondaryEffectId()

pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction::getSecondaryEffectId ( )

Definition at line 37 of file BeaconPaymentStackRequestAction.php.

◆ read()

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

Definition at line 39 of file BeaconPaymentStackRequestAction.php.

◆ write()

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

Member Data Documentation

◆ ID

const pocketmine\network\mcpe\protocol\types\inventory\stackrequest\BeaconPaymentStackRequestAction::ID = ItemStackRequestActionType::BEACON_PAYMENT

Definition at line 28 of file BeaconPaymentStackRequestAction.php.


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