// Copyright 2022-2024 Gabriel Bjørnager Jensen. use crate::net::{ServerStatus, SessionToken}; use bzipper::{Deserialise, FixedString, Serialise}; #[derive(Debug, Deserialise, Serialise)] pub enum Response { JoinAccepted { token: SessionToken }, JoinDenied { reason: FixedString<0x20> }, ServerStatus(ServerStatus), }