◆ decode()
pocketmine\network\mcpe\protocol\types\inventory\TransactionData::decode |
( |
PacketSerializer |
$stream | ) |
|
|
finalinherited |
◆ decodeData()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::decodeData |
( |
PacketSerializer |
$stream | ) |
|
|
protected |
◆ encode()
pocketmine\network\mcpe\protocol\types\inventory\TransactionData::encode |
( |
PacketSerializer |
$stream | ) |
|
|
finalinherited |
◆ encodeData()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::encodeData |
( |
PacketSerializer |
$stream | ) |
|
|
protected |
◆ getActions()
pocketmine\network\mcpe\protocol\types\inventory\TransactionData::getActions |
( |
| ) |
|
|
finalinherited |
◆ getActionType()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::getActionType |
( |
| ) |
|
◆ getActorRuntimeId()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::getActorRuntimeId |
( |
| ) |
|
◆ getClickPosition()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::getClickPosition |
( |
| ) |
|
◆ getHotbarSlot()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::getHotbarSlot |
( |
| ) |
|
◆ getItemInHand()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::getItemInHand |
( |
| ) |
|
◆ getPlayerPosition()
pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::getPlayerPosition |
( |
| ) |
|
◆ new()
static pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::new |
( |
array |
$actions, |
|
|
int |
$actorRuntimeId, |
|
|
int |
$actionType, |
|
|
int |
$hotbarSlot, |
|
|
ItemStackWrapper |
$itemInHand, |
|
|
Vector3 |
$playerPosition, |
|
|
Vector3 |
$clickPosition |
|
) |
| |
|
static |
◆ $actions
array pocketmine\network\mcpe\protocol\types\inventory\TransactionData::$actions = [] |
|
protectedinherited |
◆ ACTION_ATTACK
const pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::ACTION_ATTACK = 1 |
◆ ACTION_INTERACT
const pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::ACTION_INTERACT = 0 |
◆ ACTION_ITEM_INTERACT
const pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::ACTION_ITEM_INTERACT = 2 |
◆ ID
const pocketmine\network\mcpe\protocol\types\inventory\UseItemOnEntityTransactionData::ID = InventoryTransactionPacket::TYPE_USE_ITEM_ON_ENTITY |
The documentation for this class was generated from the following file: