summaryrefslogtreecommitdiff
path: root/server/src/config/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/config/mod.rs')
-rw-r--r--server/src/config/mod.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/src/config/mod.rs b/server/src/config/mod.rs
new file mode 100644
index 0000000..72d3860
--- /dev/null
+++ b/server/src/config/mod.rs
@@ -0,0 +1,13 @@
+// Copyright 2022-2024 Gabriel Bjørnager Jensen.
+
+use bzipper::FixedString;
+
+mod load;
+
+#[derive(Debug)]
+pub struct Config {
+ pub name: FixedString<0x10>,
+ pub port: u16,
+
+ pub max_player_count: u32,
+}