SetPlayerOp

class SetPlayerOp : OutgoingGameMessage

Set player op packet is used to set the right-click option on all players to a specific option.

Constructors

Link copied to clipboard
constructor(id: Int, priority: Boolean, op: String?)

Properties

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

the id of the option to change, a value in range of 1 to 8 (inclusive)

Link copied to clipboard
val op: String?

the option string to set, or null if removing an op.

Link copied to clipboard

whether the option should get priority over the 'Walk here' option.

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