|
| static | addCube (string $text, Vector3 $position, float $red, float $green, float $blue, float $alpha, int $durationMillis) |
| |
| static | clear () |
| |
◆ __get()
| pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
| $name | ) |
|
|
inherited |
◆ __set()
| pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
| $name, |
|
|
| $value ) |
|
inherited |
◆ addCube()
| static pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::addCube |
( |
string | $text, |
|
|
Vector3 | $position, |
|
|
float | $red, |
|
|
float | $green, |
|
|
float | $blue, |
|
|
float | $alpha, |
|
|
int | $durationMillis ) |
|
static |
◆ canBeSentBeforeLogin()
| pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
|
inherited |
◆ clear()
| static pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::clear |
( |
| ) |
|
|
static |
◆ decode()
| pocketmine\network\mcpe\protocol\DataPacket::decode |
( |
ByteBufferReader | $in | ) |
|
|
finalinherited |
◆ decodeHeader()
| pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
ByteBufferReader | $in | ) |
|
|
protectedinherited |
- Exceptions
-
| DataDecodeException | |
| PacketDecodeException | |
Definition at line 64 of file DataPacket.php.
◆ decodePayload()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::decodePayload |
( |
ByteBufferReader | $in | ) |
|
|
protected |
◆ encode()
| pocketmine\network\mcpe\protocol\DataPacket::encode |
( |
ByteBufferWriter | $out | ) |
|
|
finalinherited |
◆ encodeHeader()
| pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
ByteBufferWriter | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::encodePayload |
( |
ByteBufferWriter | $out | ) |
|
|
protected |
◆ getAlpha()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getAlpha |
( |
| ) |
|
◆ getBlue()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getBlue |
( |
| ) |
|
◆ getDurationMillis()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getDurationMillis |
( |
| ) |
|
◆ getGreen()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getGreen |
( |
| ) |
|
◆ getName()
| pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ getPosition()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getPosition |
( |
| ) |
|
◆ getRed()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getRed |
( |
| ) |
|
◆ getText()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getText |
( |
| ) |
|
◆ getType()
| pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::getType |
( |
| ) |
|
◆ 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 118 of file ClientboundDebugRendererPacket.php.
◆ pid()
| pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $recipientSubId
| int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
| int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ NETWORK_ID
| const pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::NETWORK_ID = ProtocolInfo::CLIENTBOUND_DEBUG_RENDERER_PACKET |
◆ PID_MASK
| const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
◆ TYPE_ADD_CUBE
| const pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::TYPE_ADD_CUBE = 2 |
◆ TYPE_CLEAR
| const pocketmine\network\mcpe\protocol\ClientboundDebugRendererPacket::TYPE_CLEAR = 1 |
The documentation for this class was generated from the following file: