RCON v0.2.1 RCON.Packet View Source
Module for handling RCON packets.
Link to this section Summary
Functions
Returns the packet ID used for auth failure
Returns the body for a packet
Returns the body length in bytes for a packet
Creates a packet
Creates and encodes a packet in one step
Decodes a packet payload from transmission
Decodes a packet size
Encodes a packet to a binary for transmission
Returns from what side the packet was sent from
Returns the ID for a packet
Returns the length in bytes of the packet id part
Returns the initial packet ID value
Returns the kind for a packet
Returns the packet kind for a code
Returns the length in bytes of the packet kind part
Returns the code for a packet kind
Returns the maximum size a body may have
Returns the max possible value a packet ID may have
The smallest value packet size may be
Returns the length in bytes of the packet size part
Link to this section Types
Link to this section Functions
Returns the packet ID used for auth failure.
Returns the body for a packet.
Returns the body length in bytes for a packet.
Does not include the null character.
Creates a packet.
Creates and encodes a packet in one step.
Decodes a packet payload from transmission.
Decodes a packet size.
Encodes a packet to a binary for transmission.
Returns from what side the packet was sent from.
Returns the ID for a packet.
Returns the length in bytes of the packet id part.
Returns the initial packet ID value.
Returns the kind for a packet.
Returns the packet kind for a code.
Returns the length in bytes of the packet kind part.
Returns the code for a packet kind.
Returns the maximum size a body may have.
Minecraft only supports a request payload length of max 1446 byte. However some tests showed that only requests with a payload length of 1413 byte or lower work reliably.
Returns the max possible value a packet ID may have.
Value from signed int32 max (2^31 - 1
).
The smallest value packet size may be.
Returns the length in bytes of the packet size part.