VarpLarge

class VarpLarge : OutgoingGameMessage

Varp large messages are used to send a varp to the client that has a value which does not fit in the range of a byte, being -128..127. For values which do fit in the aforementioned range, the VarpSmall message is preferred as it takes up less bandwidth, although nothing prevents one from sending all varps using this variant.

Constructors

Link copied to clipboard
constructor(id: Int, value: Int)

Properties

Link copied to clipboard
open override val category: ServerProtCategory
Link copied to clipboard
val id: Int

the id of the varp

Link copied to clipboard
val value: Int

the value of the varp

Functions

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