Skip to content

HiscoreRequestInput

data class HiscoreRequestInput(
val requestId: Int,
val type: Int,
val name: String
) : IncomingGamePacket()
Example
on_input<HiscoreRequestInput> { player ->
val other = World.findPlayer(name)
player.message(if (other == null) "No hiscore for $name on this realm." else "$name is online now.")
}
val requestId: Int
val type: Int
val name: String