PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
|
Public Member Functions | |
decode (PacketSerializer $in) | |
encode (PacketSerializer $out) | |
length () | |
Public Attributes | |
int | $headerFlags = 0 |
array | $packets = [] |
int | $seqNumber |
const | BITFLAG_ACK = 0x40 |
const | BITFLAG_CONTINUOUS_SEND = 0x08 |
const | BITFLAG_NAK = 0x20 |
const | BITFLAG_NEEDS_B_AND_AS = 0x04 |
const | BITFLAG_PACKET_PAIR = 0x10 |
const | BITFLAG_VALID = 0x80 |
const | HEADER_SIZE = 1 + 3 |
Static Public Attributes | |
static | $ID = -1 |
Protected Member Functions | |
decodeHeader (PacketSerializer $in) | |
decodePayload (PacketSerializer $in) | |
encodeHeader (PacketSerializer $out) | |
encodePayload (PacketSerializer $out) | |
Definition at line 19 of file Datagram.php.
|
inherited |
BinaryDataException |
Definition at line 39 of file raklib/src/protocol/Packet.php.
|
protected |
BinaryDataException |
Reimplemented from raklib\protocol\Packet.
Definition at line 62 of file Datagram.php.
|
protected |
BinaryDataException |
Reimplemented from raklib\protocol\Packet.
Definition at line 66 of file Datagram.php.
|
inherited |
Definition at line 25 of file raklib/src/protocol/Packet.php.
|
protected |
Reimplemented from raklib\protocol\Packet.
Definition at line 39 of file Datagram.php.
|
protected |
Reimplemented from raklib\protocol\Packet.
Definition at line 43 of file Datagram.php.
raklib\protocol\Datagram::length | ( | ) |
Definition at line 53 of file Datagram.php.
int raklib\protocol\Datagram::$headerFlags = 0 |
Definition at line 34 of file Datagram.php.
|
staticinherited |
Definition at line 23 of file raklib/src/protocol/Packet.php.
array raklib\protocol\Datagram::$packets = [] |
Definition at line 36 of file Datagram.php.
int raklib\protocol\Datagram::$seqNumber |
Definition at line 37 of file Datagram.php.
const raklib\protocol\Datagram::BITFLAG_ACK = 0x40 |
Definition at line 21 of file Datagram.php.
const raklib\protocol\Datagram::BITFLAG_CONTINUOUS_SEND = 0x08 |
Definition at line 29 of file Datagram.php.
const raklib\protocol\Datagram::BITFLAG_NAK = 0x20 |
Definition at line 22 of file Datagram.php.
const raklib\protocol\Datagram::BITFLAG_NEEDS_B_AND_AS = 0x04 |
Definition at line 30 of file Datagram.php.
const raklib\protocol\Datagram::BITFLAG_PACKET_PAIR = 0x10 |
Definition at line 28 of file Datagram.php.
const raklib\protocol\Datagram::BITFLAG_VALID = 0x80 |
Definition at line 20 of file Datagram.php.
const raklib\protocol\Datagram::HEADER_SIZE = 1 + 3 |
Definition at line 32 of file Datagram.php.