blob: 86e7db9e57a51b06f0fb7d045b27430884eb4ac9 (
plain) (
tree)
|
|
// 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),
}
|