Skip to content

WindowStatusInput

data class WindowStatusInput(
val windowMode: Int,
val frameWidth: Int,
val frameHeight: Int
) : IncomingGamePacket()
Example
on_input<WindowStatusInput> { player ->
if (frameWidth < 800) player.message("A larger window shows more of the realm.")
Logger.debug("${player.uuid}: window mode $windowMode, ${frameWidth}x$frameHeight")
}
val windowMode: Int
val frameWidth: Int
val frameHeight: Int