IfSetNpcHead

class IfSetNpcHead : OutgoingGameMessage

If set-npc-head is used to set a npc's chathead on an interface, commonly in dialogues.

Constructors

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

Link copied to clipboard

the interface id on which the model resides

Link copied to clipboard
val npc: Int

the id of the npc config whose head to set as the model

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