UpdatePlayerModelV1

class UpdatePlayerModelV1 : IncomingGameMessage

Update player model packet is sent for the old make-over interface, when the player finishes designing their character. It should be noted, that this is no longer in use in OldSchool RuneScape, as a newer interface uses traditional buttons to manage it. However, as this is still a valid packet that can be sent by the server, we've implemented it.

Constructors

Link copied to clipboard
constructor(bodyType: Int, identKits: ByteArray, colours: ByteArray)

Properties

Link copied to clipboard

the body type of the player

Link copied to clipboard
open override val category: ClientProtCategory

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
fun getColour(index: Int): Int

Gets the colour at index index, or -1 if it doesn't exist.

Link copied to clipboard

Gets the backing colours byte array. Changes done to this byte array reflect on the packet.

Link copied to clipboard
fun getIdentKit(index: Int): Int

Gets the ident kit at index index, or -1 if it doesn't exist.

Link copied to clipboard

Gets the backing ident kits byte array. Changes done to this byte array reflect on this packet.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String