Module packet

Source
Expand description

This module contains all the packets that are used by the RakNet protocol. This module is split into two submodules:

  • offline: Any packet that is not sent within a [Frame].
  • online: Any packet considered to be online, which is sent within a [Frame].

Modules§

offline
Offline packets are packets that are sent before a connection is established. In rak-rs, these packets consist of:
online
Online packets are packets that are sent when the client is connected to the server and are used to keep the connection alive, and to send game packets to the server.

Enums§

RakPacket
A wrapper or helper for both online and offline packets. This allows for a single type to be read with Reader and written with Writer, traits provided by binary_util.