ObjCustomise

class ObjCustomise : ZoneProt

Obj customise is a packet that allows the server to modify an item on the ground, by either changing the model, the colours and the textures of it.

Constructors

Link copied to clipboard
constructor(id: Int, quantity: Int, model: Int, recolIndex: Int, recol: Int, retexIndex: Int, retex: Int, xInZone: Int, zInZone: Int)

Properties

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

the id of the obj to update

Link copied to clipboard
val model: Int

the model id to assign to this obj

Link copied to clipboard
open override val protId: Int
Link copied to clipboard

the quantity of the obj to update

Link copied to clipboard
val recol: Int

the colour value to assign at the recolIndex index

Link copied to clipboard

the index of the colour to override

Link copied to clipboard
val retex: Int

the texture value to assign at the retexIndex index

Link copied to clipboard

the index of the texture to override

Link copied to clipboard

the x coordinate of the obj within the zone it is in, a value in range of 0 to 7 (inclusive) is expected. Any bits outside that are ignored.

Link copied to clipboard

the z coordinate of the obj within the zone it is in, a value in range of 0 to 7 (inclusive) is expected. Any bits outside that are ignored.

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