IfSubOp

class IfSubOp : IncomingGameMessage

Ifsubop messages are sent when the player clicks on a submenu option.

Constructors

Link copied to clipboard
constructor(combinedId: CombinedId, sub: Int, obj: Int, op: Int, subop: Int)

Properties

Link copied to clipboard
open override val category: ClientProtCategory
Link copied to clipboard

the bitpacked combination of interfaceId and componentId.

Link copied to clipboard

the component id on that interface the player interacted with

Link copied to clipboard

the interface id the player interacted with

Link copied to clipboard
val obj: Int

the obj in that subcomponent, or -1

Link copied to clipboard
val op: Int

the option clicked, ranging from 1 to 10

Link copied to clipboard
val sub: Int

the subcomponent within that component if it has one, otherwise -1

Link copied to clipboard
val subop: Int

the submenu option clicked

Functions

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