Crate bancho_packets

source ·

Modules

  • Predefined client related bancho packets.
  • Provide some convenient declarative macros to help build bancho packets.
  • Predefined server related bancho packets.

Macros

Structs

Enums

  • The bancho client will handle these failure reasons when the user login fails.
  • The login result of the bancho client. Returns Success(user_id) if success.
  • Known packet ids for bancho clients.

Constants

Traits

Functions

Type Definitions

Derive Macros

  • This derive macro will implement the BanchoPacketLength trait for the struct.
  • This derive macro will implement the BanchoPacketRead trait for the struct.
  • This derive macro will implement the BanchoPacketWrite trait for the struct.