IfSetPlayerModelBaseColour

class IfSetPlayerModelBaseColour : OutgoingGameMessage

If set-player-model basecolour packet is used to set the ident kit colour of a customized player model on an interface. This allows one to build a completely unique player model up without using anyone as reference. The colouring logic is identical to that found within Appearance for players.

Constructors

Link copied to clipboard
constructor(interfaceId: Int, componentId: Int, index: Int, colour: Int)
constructor(combinedId: Int, index: Int, colour: Int)

Properties

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

the value of the colour, ranging from 0 to 255 (inclusive)

Link copied to clipboard

the bitpacked combination of interfaceId and componentId.

Link copied to clipboard

the id of the component on which the model resides

Link copied to clipboard
val index: Int

the index of the colour, ranging from 0 to 4 (inclusive)

Link copied to clipboard

the id of the interface on which the model resides

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