IfSetObject

class IfSetObject : OutgoingGameMessage

Sets an object on an interface component.

Constructors

Link copied to clipboard
constructor(interfaceId: Int, componentId: Int, obj: Int, count: Int)
constructor(combinedId: Int, obj: Int, count: Int)

Properties

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

the bitpacked combination of interfaceId and componentId.

Link copied to clipboard

the component on which the obj resides

Link copied to clipboard
val count: Int

the count of the obj, used to obtain a different variant of the model of the obj

Link copied to clipboard

the interface on which the component resides

Link copied to clipboard
val obj: Int

the id of the obj to set on the component

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