Package-level declarations

Types

Link copied to clipboard
class IfClearInv(val combinedId: Int) : OutgoingGameMessage

If clear-inv messaged are used to clear all objs on any if-1 type component. As there are very few if-1 type old interfaces remaining, this packet is mostly unused nowadays.

Link copied to clipboard
class IfCloseSub(val combinedId: Int) : OutgoingGameMessage

If close-sub messages are used to close sub-level interfaces.

Link copied to clipboard
class IfMoveSub(val sourceCombinedId: Int, val destinationCombinedId: Int) : OutgoingGameMessage

If move-sub messages are used to move a sub-level interface from one position to another, typically when changing top-level interfaces.

Link copied to clipboard
class IfOpenSub : OutgoingGameMessage

If open-sub messages are used to open non-root interfaces on root interfaces.

Link copied to clipboard
class IfOpenTop(val interfaceId: Int) : OutgoingGameMessage

If open-top messages are sent to open 'root' interfaces. These root interfaces are the base to everything, and every other sub-interface will be opened on a component on this top interface.

Link copied to clipboard
class IfResync : OutgoingGameMessage

If resync is used to synchronize opened interfaces with the client.

Link copied to clipboard
class IfSetAngle : OutgoingGameMessage

If set-angle is used to change the angle of a model on an interface component.

Link copied to clipboard
class IfSetAnim : OutgoingGameMessage

If set-anim is used to make a model animate on a component.

Link copied to clipboard
class IfSetColour : OutgoingGameMessage

If set-colour is used to set the colour of a text component.

Link copied to clipboard
class IfSetEvents : OutgoingGameMessage

Interface events are sent to set/unlock various options on a component, such as button clicks and dragging.

Link copied to clipboard
class IfSetHide(val combinedId: Int, val hidden: Boolean) : OutgoingGameMessage

If set-hide is used to hide or unhide a component and its children on an interface.

Link copied to clipboard
class IfSetModel : OutgoingGameMessage

If set model packet is used to set a model to render on an interface. The component must be of model type for this to succeed.

Link copied to clipboard
class IfSetNpcHead : OutgoingGameMessage

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

Link copied to clipboard
class IfSetNpcHeadActive : OutgoingGameMessage

If set-npc-head-active is used to set a npc's chathead on an interface, commonly in dialogues. Rather than taking the id of the npc config, this function takes the index of the npc in the world. Npc's model is looked up from the client through npc info, allowing for the chatbox to render a custom-built npc with completely dynamic models, rather than the pre-defined configs.

Link copied to clipboard
class IfSetObject : OutgoingGameMessage

Sets an object on an interface component.

Link copied to clipboard
class IfSetPlayerHead(val combinedId: Int) : OutgoingGameMessage

If set-player-head is used to set the local player's chathead on an interface, commonly used for dialogues.

Link copied to clipboard
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.

Link copied to clipboard
class IfSetPlayerModelBodyType : OutgoingGameMessage

If setplayermodel bodytype is used to change the current body-type of a player model on an interface, making the client prefer swap out the models for the respective type.

Link copied to clipboard
class IfSetPlayerModelObj(val combinedId: Int, val obj: Int) : OutgoingGameMessage

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

Link copied to clipboard
class IfSetPlayerModelSelf(val combinedId: Int, val copyObjs: Boolean) : OutgoingGameMessage

If setplayermodel self is used to set the player model on an interface to that of the local player.

Link copied to clipboard
class IfSetPosition : OutgoingGameMessage

If set-position events are used to move a component on an interface.

Link copied to clipboard
class IfSetRotateSpeed : OutgoingGameMessage

If set-rotate-speed packet is used to make a model rotate according to the client's update counter. This only has an effect on model-type components.

Link copied to clipboard
class IfSetScrollPos : OutgoingGameMessage

If set scroll pos messages are used to force the scroll position of a layer component.

Link copied to clipboard
class IfSetText(val combinedId: Int, val text: String) : OutgoingGameMessage

If set-text packet is used to set the text on a text component.