IfSetPlayerModelObj

class IfSetPlayerModelObj(val combinedId: Int, val obj: Int) : OutgoingGameMessage

If setplayermodel obj is used to set a worn obj on a player model.

Constructors

Link copied to clipboard
constructor(interfaceId: Int, componentId: Int, obj: Int)
constructor(combinedId: Int, obj: 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 id of the component on which the model resides

Link copied to clipboard

the id of the interface on which the model resides

Link copied to clipboard
val obj: Int

the id of the obj. Interestingly, the client reads a 32-bit int for the obj, even though configs having a strict 32767/65535 limitation elsewhere in the client.

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