|
static | create (int $maxTestsPerBatch, int $repeatCount, int $rotation, bool $stopOnFailure, BlockPosition $testPosition, int $testsPerRow, string $testName,) |
|
Definition at line 20 of file GameTestRequestPacket.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\GameTestRequestPacket::create |
( |
int |
$maxTestsPerBatch, |
|
|
int |
$repeatCount, |
|
|
int |
$rotation, |
|
|
bool |
$stopOnFailure, |
|
|
BlockPosition |
$testPosition, |
|
|
int |
$testsPerRow, |
|
|
string |
$testName |
|
) |
| |
|
static |
◆ decode()
◆ decodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
PacketSerializer |
$in | ) |
|
|
protectedinherited |
◆ decodePayload()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::decodePayload |
( |
PacketSerializer |
$in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer |
$out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::encodePayload |
( |
PacketSerializer |
$out | ) |
|
|
protected |
◆ getMaxTestsPerBatch()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::getMaxTestsPerBatch |
( |
| ) |
|
◆ getName()
pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ getRepeatCount()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::getRepeatCount |
( |
| ) |
|
◆ getRotation()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::getRotation |
( |
| ) |
|
◆ getTestName()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::getTestName |
( |
| ) |
|
◆ getTestPosition()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::getTestPosition |
( |
| ) |
|
◆ getTestsPerRow()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::getTestsPerRow |
( |
| ) |
|
◆ 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 96 of file GameTestRequestPacket.php.
◆ isStopOnFailure()
pocketmine\network\mcpe\protocol\GameTestRequestPacket::isStopOnFailure |
( |
| ) |
|
◆ 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\GameTestRequestPacket::NETWORK_ID = ProtocolInfo::GAME_TEST_REQUEST_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
◆ ROTATION_0
const pocketmine\network\mcpe\protocol\GameTestRequestPacket::ROTATION_0 = 0 |
◆ ROTATION_180
const pocketmine\network\mcpe\protocol\GameTestRequestPacket::ROTATION_180 = 2 |
◆ ROTATION_270
const pocketmine\network\mcpe\protocol\GameTestRequestPacket::ROTATION_270 = 3 |
◆ ROTATION_90
const pocketmine\network\mcpe\protocol\GameTestRequestPacket::ROTATION_90 = 1 |
The documentation for this class was generated from the following file: