Package-level declarations
Types
Click world map events are transmitted when the user double-clicks on the world map. If the user has J-Mod privileges and holds the 'Control' and 'Shift' keys down as they do the click, a different packet is transmitted instead. This packet is intended for a feature that never released - world map hints. In the pre-eoc days, players could double-click on their world map to set a 'Destination marker' which had a blue arrow to it, allowing them easier navigation to the given destination. In OldSchool RuneScape, there is a RuneLite plugin that accomplishes the same thing. Additionally, the double-clicking is fairly broken in the C++ client, and only sends this packet in some extreme cases when dragging the world map around, not through the traditional double-clicking.
Client cheats are commands sent in chat using the :: prefix, or through the console on the C++ client.
Close modal messages are sent when the player clicks on the 'x' button of a modal interface, or if they press the 'Esc' key while having the "Esc to close interfaces" setting enabled.
A hiscore request message is sent when a player does a lookup of another player on the C++ clients. This functionality is currently not used in any way.
Content recommendation interface clicks happen when a player clicks a component on the CRM interface, which is currently only used in the form of the lobby interface, where user-specific advertisements are shown. Worth noting that the properties here are rough guesses at their naming and the real usage has not been tested in-game.
Move gameclick packets are sent when the user clicks to walk within their main game window (not minimap).
Move minimap click is sent when the player requests to walk somewhere through their minimap. While the packet itself sends additional constant values to the server, we do not store those values as they are expected to always be the same. The decoder will verify the values and throw an exception in decoding if those values do not align up.
Oculus leave message is sent when the player presses the 'Esc' key to exit the orb of oculus view.
Send snapshot message is sent when a player reports another player.
Set chat filter settings is sent when the player changes either their public, private or trade filters, in order to synchronize the status with the server.
Set heading packet is used to update the current heading/angle/direction of the worldentity.
Update player model packet is sent for the old make-over interface, when the player finishes designing their character. It should be noted, that this is no longer in use in OldSchool RuneScape, as a newer interface uses traditional buttons to manage it. However, as this is still a valid packet that can be sent by the server, we've implemented it.