diff options
Diffstat (limited to 'core/src/net/server_status/mod.rs')
-rw-r--r-- | core/src/net/server_status/mod.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/core/src/net/server_status/mod.rs b/core/src/net/server_status/mod.rs new file mode 100644 index 0000000..e74e4dc --- /dev/null +++ b/core/src/net/server_status/mod.rs @@ -0,0 +1,9 @@ +// Copyright 2022-2024 Gabriel Bjørnager Jensen. + +use bzipper::{Deserialise, Serialise}; + +#[derive(Debug, Deserialise, Serialise)] +pub struct ServerStatus { + pub player_count: u32, + pub max_player_count: u32, +} |