◆ __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 |
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer | $in | ) |
|
|
protectedinherited |
- Exceptions
-
BinaryDataException | |
PacketDecodeException | |
Definition at line 62 of file DataPacket.php.
◆ decodePayload()
pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::decodePayload |
( |
PacketSerializer | $in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::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
-
PacketDecodeException | if broken data was found in the packet |
Implements pocketmine\network\mcpe\protocol\Packet.
Definition at line 177 of file ClientboundMapItemDataPacket.php.
◆ pid()
pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $colors
MapImage pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$colors = null |
◆ $decorations
array pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$decorations = [] |
◆ $dimensionId
int pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$dimensionId = DimensionIds::OVERWORLD |
◆ $isLocked
bool pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$isLocked = false |
◆ $mapId
int pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$mapId |
◆ $origin
BlockPosition pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$origin |
◆ $parentMapIds
array pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$parentMapIds = [] |
◆ $recipientSubId
int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $scale
int pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$scale |
◆ $senderSubId
int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ $trackedEntities
array pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$trackedEntities = [] |
◆ $type
int pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$type |
◆ $xOffset
int pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$xOffset = 0 |
◆ $yOffset
int pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::$yOffset = 0 |
◆ BITFLAG_DECORATION_UPDATE
const pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::BITFLAG_DECORATION_UPDATE = 0x04 |
◆ BITFLAG_MAP_CREATION
const pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::BITFLAG_MAP_CREATION = 0x08 |
◆ BITFLAG_TEXTURE_UPDATE
const pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::BITFLAG_TEXTURE_UPDATE = 0x02 |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\ClientboundMapItemDataPacket::NETWORK_ID = ProtocolInfo::CLIENTBOUND_MAP_ITEM_DATA_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
The documentation for this class was generated from the following file: