// SPDX-License-Identifier: GPL-3.0-only // SPDX-FileCopyrightText: 2023 Denis Drakhnia mod cursor; mod server_info; pub mod admin; pub mod filter; pub mod game; pub mod master; pub mod server; pub mod types; pub use server_info::ServerInfo; use thiserror::Error; pub const VERSION: u32 = 49; #[derive(Error, Debug, PartialEq, Eq)] pub enum Error { #[error("Invalid packet")] InvalidPacket, #[error("Invalid UTF-8 string")] InvalidString, #[error("Unexpected end of buffer")] UnexpectedEnd, }