summaryrefslogblamecommitdiff
path: root/core/src/net/request/mod.rs
blob: ed803acf14f3fb6077bf89428bf3e7f29baf37ff (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                   
// Copyright 2022-2024 Gabriel Bjørnager Jensen.

use crate::net::SessionToken;

use bzipper::{Deserialise, FixedString, Serialise};

#[derive(Debug, Deserialise, Serialise)]
pub enum Request {
	PlayerJoin { username: FixedString<0x10> },

	PlayerQuit { token: SessionToken },
}