blob: 9c9a4cb7009fb33c2ef428eccd2cd04e988bb5c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
// 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> },
}
|