PacketGroupStart

class PacketGroupStart(val messages: List<OutgoingGameMessage>) : OutgoingGameMessage

Packet group start is a packet which tells the client to wait until the entire payload of a packet group has arrived, then process all of it in a single client cycle, bypassing the usual 100 packets per client cycle limitation that the client has.

Constructors

Link copied to clipboard
constructor(messages: List<OutgoingGameMessage>)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard
val messages: List<OutgoingGameMessage>

the messages to wait for and process instantly. Note that the size of all these messages combined must be <= 32,767 bytes. Exceeding this limit will cause the protocol to crash for that user, disconnecting them. This is due to ISAAC cipher being modified during the encoding of the payload, which we cannot recover from without complex state tracking, which will not be supported.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun estimateSize(): Int
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String