Expand description
Module handling the protocol messages exchanged between client and server.
It defines message structures, serialization/deserialization logic, and error handling used in the communication protocol.
This module supports parsing raw messages into typed enums for client and server messages, managing data hashes, server feature flags, and achievement records.
Structs§
- Achievement
Record - Record representing an achievement, including its UUID and optional audio file hash.
- Capabilities
- Bitmask enum representing capabilities supported by the server.
- Data
Hash - Wrapper around an MD5
Digestrepresenting a data hash. - Message
- Represents a raw protocol message with a type byte and a payload.
Enums§
- Client
Message - Enum of messages sent from the client to the server.
- Error
Response - Enum representing error responses from the server.
- Server
Message - Enum of messages sent from the server to the client.