|
static | create (BlockPosition $blockPosition, int $blockRuntimeId, int $flags, int $dataLayerId) |
|
Definition at line 19 of file UpdateBlockSyncedPacket.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\UpdateBlockPacket::create |
( |
BlockPosition |
$blockPosition, |
|
|
int |
$blockRuntimeId, |
|
|
int |
$flags, |
|
|
int |
$dataLayerId |
|
) |
| |
|
staticinherited |
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer |
$in | ) |
|
|
protectedinherited |
◆ decodePayload()
pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::decodePayload |
( |
PacketSerializer |
$in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer |
$out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::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
-
Reimplemented from pocketmine\network\mcpe\protocol\UpdateBlockPacket.
Definition at line 41 of file UpdateBlockSyncedPacket.php.
◆ pid()
pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $actorUniqueId
int pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::$actorUniqueId |
◆ $blockPosition
BlockPosition pocketmine\network\mcpe\protocol\UpdateBlockPacket::$blockPosition |
|
inherited |
◆ $blockRuntimeId
int pocketmine\network\mcpe\protocol\UpdateBlockPacket::$blockRuntimeId |
|
inherited |
◆ $dataLayerId
int pocketmine\network\mcpe\protocol\UpdateBlockPacket::$dataLayerId = self::DATA_LAYER_NORMAL |
|
inherited |
◆ $flags
int pocketmine\network\mcpe\protocol\UpdateBlockPacket::$flags = self::FLAG_NETWORK |
|
inherited |
◆ $recipientSubId
int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ $updateType
int pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::$updateType |
◆ DATA_LAYER_LIQUID
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::DATA_LAYER_LIQUID = 1 |
|
inherited |
◆ DATA_LAYER_NORMAL
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::DATA_LAYER_NORMAL = 0 |
|
inherited |
◆ FLAG_NEIGHBORS
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::FLAG_NEIGHBORS = 0b0001 |
|
inherited |
◆ FLAG_NETWORK
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::FLAG_NETWORK = 0b0010 |
|
inherited |
◆ FLAG_NOGRAPHIC
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::FLAG_NOGRAPHIC = 0b0100 |
|
inherited |
◆ FLAG_NONE
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::FLAG_NONE = 0b0000 |
|
inherited |
◆ FLAG_PRIORITY
const pocketmine\network\mcpe\protocol\UpdateBlockPacket::FLAG_PRIORITY = 0b1000 |
|
inherited |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::NETWORK_ID = ProtocolInfo::UPDATE_BLOCK_SYNCED_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
◆ TYPE_CREATE
const pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::TYPE_CREATE = 1 |
◆ TYPE_DESTROY
const pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::TYPE_DESTROY = 2 |
◆ TYPE_NONE
const pocketmine\network\mcpe\protocol\UpdateBlockSyncedPacket::TYPE_NONE = 0 |
The documentation for this class was generated from the following file: