BeaconPaymentStackRequestAction
extends ItemStackRequestAction
in package
Uses
GetTypeIdFromConstTrait
Completes a transaction involving a beacon consuming input to produce effects.
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::BEACON_PAYMENT
- $primaryEffectId : int
- $secondaryEffectId : int
- __construct() : mixed
- getPrimaryEffectId() : int
- getSecondaryEffectId() : int
- getTypeId() : int
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\inventory\stackrequest\ItemStackRequestActionType::BEACON_PAYMENT
Properties
$primaryEffectId
private
int
$primaryEffectId
$secondaryEffectId
private
int
$secondaryEffectId
Methods
__construct()
public
__construct(int $primaryEffectId, int $secondaryEffectId) : mixed
Parameters
- $primaryEffectId : int
- $secondaryEffectId : int
Return values
mixed —getPrimaryEffectId()
public
getPrimaryEffectId() : int
Return values
int —getSecondaryEffectId()
public
getSecondaryEffectId() : int
Return values
int —getTypeId()
public
abstract getTypeId() : int
Return values
int —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer