blob: 9c9a4cb7009fb33c2ef428eccd2cd04e988bb5c9 (
plain) (
tree)
|
|
// Copyright 2022-2024 Gabriel Bjørnager Jensen.
use crate::net::{Request, SessionToken};
use bzipper::{Deserialise, FixedString, Serialise};
#[derive(Debug, Deserialise, Serialise)]
pub enum Response {
PlayerJoinAccepted { token: SessionToken },
RequestDenied { request: Request, reason: FixedString<0x20> },
}
|