Definition at line 19 of file PlayStatusPacket.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\PlayStatusPacket::canBeSentBeforeLogin |
( |
| ) |
|
◆ create()
static pocketmine\network\mcpe\protocol\PlayStatusPacket::create |
( |
int | $status | ) |
|
|
static |
◆ 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\PlayStatusPacket::decodePayload |
( |
PacketSerializer | $in | ) |
|
|
protected |
◆ encode()
◆ encodeHeader()
pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
PacketSerializer | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
pocketmine\network\mcpe\protocol\PlayStatusPacket::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 56 of file PlayStatusPacket.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 |
◆ $status
int pocketmine\network\mcpe\protocol\PlayStatusPacket::$status |
◆ LOGIN_FAILED_CLIENT
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_CLIENT = 1 |
◆ LOGIN_FAILED_EDITOR_VANILLA
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_EDITOR_VANILLA = 8 |
◆ LOGIN_FAILED_EDU_VANILLA
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_EDU_VANILLA = 6 |
◆ LOGIN_FAILED_INVALID_TENANT
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_INVALID_TENANT = 4 |
◆ LOGIN_FAILED_SERVER
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_SERVER = 2 |
◆ LOGIN_FAILED_SERVER_FULL
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_SERVER_FULL = 7 |
◆ LOGIN_FAILED_VANILLA_EDITOR
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_VANILLA_EDITOR = 9 |
◆ LOGIN_FAILED_VANILLA_EDU
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_FAILED_VANILLA_EDU = 5 |
◆ LOGIN_SUCCESS
const pocketmine\network\mcpe\protocol\PlayStatusPacket::LOGIN_SUCCESS = 0 |
◆ NETWORK_ID
const pocketmine\network\mcpe\protocol\PlayStatusPacket::NETWORK_ID = ProtocolInfo::PLAY_STATUS_PACKET |
◆ PID_MASK
const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
◆ PLAYER_SPAWN
const pocketmine\network\mcpe\protocol\PlayStatusPacket::PLAYER_SPAWN = 3 |
The documentation for this class was generated from the following file: