|
static | create (int $actorRuntimeId, Vector3 $position, float $pitch, float $yaw, float $headYaw, int $flags) |
|
Definition at line 20 of file MoveActorAbsolutePacket.php.
◆ __get()
pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
|
$name | ) |
|
|
inherited |
◆ __set()
pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
|
$name, |
|
|
|
$value |
|
) |
| |
|
inherited |
◆ canBeSentBeforeLogin()
pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
|
inherited |
◆ create()
static pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::create |
( |
int |
$actorRuntimeId, |
|
|
Vector3 |
$position, |
|
|
float |
$pitch, |
|
|
float |
$yaw, |
|
|
float |
$headYaw, |
|
|
int |
$flags |
|
) |
| |
|
static |
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer |
$in | ) |
|
|
protectedinherited |
◆ decodePayload()
pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::decodePayload |
( |
PacketSerializer |
$in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer |
$out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::encodePayload |
( |
PacketSerializer |
$out | ) |
|
|
protected |
◆ getName()
pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ handle()
Performs handling for this packet. Usually you'll want an appropriately named method in the session handler for this.
This method returns a bool to indicate whether the packet was handled or not. If the packet was unhandled, a debug message will be logged with a hexdump of the packet.
Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets for examples how to implement this.
- Returns
- bool true if the packet was handled successfully, false if not.
- Exceptions
-
Implements pocketmine\network\mcpe\protocol\Packet.
Definition at line 66 of file MoveActorAbsolutePacket.php.
◆ pid()
pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $actorRuntimeId
int pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::$actorRuntimeId |
◆ $flags
int pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::$flags = 0 |
◆ $headYaw
float pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::$headYaw |
◆ $pitch
float pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::$pitch |
◆ $position
Vector3 pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::$position |
◆ $recipientSubId
int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ $yaw
float pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::$yaw |
◆ FLAG_FORCE_MOVE_LOCAL_ENTITY
const pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::FLAG_FORCE_MOVE_LOCAL_ENTITY = 0x04 |
◆ FLAG_GROUND
const pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::FLAG_GROUND = 0x01 |
◆ FLAG_TELEPORT
const pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::FLAG_TELEPORT = 0x02 |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\MoveActorAbsolutePacket::NETWORK_ID = ProtocolInfo::MOVE_ACTOR_ABSOLUTE_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
The documentation for this class was generated from the following file: