|
| static | new (array $actions, int $actionType, TriggerType $triggerType, BlockPosition $blockPosition, int $face, int $hotbarSlot, ItemStackWrapper $itemInHand, Vector3 $playerPosition, Vector3 $clickPosition, int $blockRuntimeId, PredictedResult $clientInteractPrediction, int $clientCooldownState) |
| |
Definition at line 27 of file UseItemTransactionData.php.
◆ decode()
| pocketmine\network\mcpe\protocol\types\inventory\TransactionData::decode |
( |
ByteBufferReader | $in | ) |
|
|
finalinherited |
◆ decodeData()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::decodeData |
( |
ByteBufferReader | $in | ) |
|
|
protected |
◆ encode()
| pocketmine\network\mcpe\protocol\types\inventory\TransactionData::encode |
( |
ByteBufferWriter | $out | ) |
|
|
finalinherited |
◆ encodeData()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::encodeData |
( |
ByteBufferWriter | $out | ) |
|
|
protected |
◆ getActions()
| pocketmine\network\mcpe\protocol\types\inventory\TransactionData::getActions |
( |
| ) |
|
|
finalinherited |
◆ getActionType()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getActionType |
( |
| ) |
|
◆ getBlockPosition()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getBlockPosition |
( |
| ) |
|
◆ getBlockRuntimeId()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getBlockRuntimeId |
( |
| ) |
|
◆ getClickPosition()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getClickPosition |
( |
| ) |
|
◆ getClientCooldownState()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getClientCooldownState |
( |
| ) |
|
◆ getClientInteractPrediction()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getClientInteractPrediction |
( |
| ) |
|
◆ getFace()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getFace |
( |
| ) |
|
◆ getHotbarSlot()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getHotbarSlot |
( |
| ) |
|
◆ getItemInHand()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getItemInHand |
( |
| ) |
|
◆ getPlayerPosition()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getPlayerPosition |
( |
| ) |
|
◆ getTriggerType()
| pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::getTriggerType |
( |
| ) |
|
◆ new()
| static pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::new |
( |
array | $actions, |
|
|
int | $actionType, |
|
|
TriggerType | $triggerType, |
|
|
BlockPosition | $blockPosition, |
|
|
int | $face, |
|
|
int | $hotbarSlot, |
|
|
ItemStackWrapper | $itemInHand, |
|
|
Vector3 | $playerPosition, |
|
|
Vector3 | $clickPosition, |
|
|
int | $blockRuntimeId, |
|
|
PredictedResult | $clientInteractPrediction, |
|
|
int | $clientCooldownState ) |
|
static |
◆ $actions
| array pocketmine\network\mcpe\protocol\types\inventory\TransactionData::$actions = [] |
|
protectedinherited |
◆ ACTION_BREAK_BLOCK
| const pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::ACTION_BREAK_BLOCK = 2 |
◆ ACTION_CLICK_AIR
| const pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::ACTION_CLICK_AIR = 1 |
◆ ACTION_CLICK_BLOCK
| const pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::ACTION_CLICK_BLOCK = 0 |
◆ ACTION_USE_AS_ATTACK
| const pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::ACTION_USE_AS_ATTACK = 3 |
◆ ID
| const pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData::ID = InventoryTransactionPacket::TYPE_USE_ITEM |
The documentation for this class was generated from the following file: