Hello

@Serializable
@SerialName(value = "hello")
data class Hello(val name: String, val color: Long, val boardSize: Int, val version: Int = PROTOCOL_VERSION, val alias: String = "") : LanMessage

First message from each side. The host's boardSize decides the board.

Constructors

Link copied to clipboard
constructor(name: String, color: Long, boardSize: Int, version: Int = PROTOCOL_VERSION, alias: String = "")

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val color: Long
Link copied to clipboard
Link copied to clipboard