AllReady

data class AllReady(var messageNumber: Int) : V086Message, ServerMessage, ClientMessage

Message sent by both client and server to indicate that they are ready for the game to start.

When the server receives AllReady from all clients in a room, the server responds back with AllReady to all clients which signals the game should start.

Message type ID: 0x15.

Constructors

Link copied to clipboard
constructor(messageNumber: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val bodyBytes: Int

Number of bytes the body of the message takes up (excluding the message ID byte).

Link copied to clipboard
open override val bodyBytesPlusMessageIdType: Int

The total number of bytes the message takes up, including the message ID byte.

Link copied to clipboard
open override var messageNumber: Int

The 0-based enumeration indicating the order in which this message was sent/received for each server.

Link copied to clipboard
open override val messageTypeId: Byte

Functions

Link copied to clipboard
open override fun writeBodyTo(buffer: ByteBuf)
open override fun writeBodyTo(buffer: ByteBuffer)
Link copied to clipboard
open override fun writeTo(buffer: ByteBuf)
fun writeTo(buffer: ByteBuffer)