diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-20 22:54:17 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-20 22:57:39 +0200 |
commit | 7071dfe8259716375bb9f1373ea0b88a39102efa (patch) | |
tree | 32404c4af2324519ff09fc026dead77700d2ba86 /server/protocol/src | |
parent | 9ddb4d7786509bf5995bd5e254c611a05ea50eba (diff) | |
download | hurrycurry-7071dfe8259716375bb9f1373ea0b88a39102efa.tar hurrycurry-7071dfe8259716375bb9f1373ea0b88a39102efa.tar.bz2 hurrycurry-7071dfe8259716375bb9f1373ea0b88a39102efa.tar.zst |
server can register
Diffstat (limited to 'server/protocol/src')
-rw-r--r-- | server/protocol/src/registry.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/protocol/src/registry.rs b/server/protocol/src/registry.rs index f1e9a083..92f2c454 100644 --- a/server/protocol/src/registry.rs +++ b/server/protocol/src/registry.rs @@ -6,7 +6,7 @@ pub struct Entry { pub address: Vec<String>, pub players_online: usize, pub last_game: i64, - pub version: (usize, usize), + pub version: (u32, u32), } #[derive(Debug, Deserialize, Serialize)] @@ -15,6 +15,6 @@ pub struct Submission { pub name: String, pub players: usize, pub last_game: i64, - pub version: (usize, usize), + pub version: (u32, u32), pub uri: String, } |