This commit is contained in:
2025-11-13 21:43:20 +01:00
parent 157c8ab68d
commit 8fe68f9574
5 changed files with 142 additions and 80 deletions
+5
View File
@@ -54,6 +54,9 @@ pub struct Game {
pub size: u64,
/// thumbnail image
pub thumbnail: Option<Bytes>,
/// indicates that the ETI bundle exists locally
#[serde(default)]
pub downloaded: bool,
/// only relevant for client (yeah... I know)
pub installed: bool,
/// ETI game version from version.ini (YYYYMMDD format) (server)
@@ -165,7 +168,9 @@ impl GameDB {
pub fn set_all_uninstalled(&mut self) {
for game in self.games.values_mut() {
game.downloaded = false;
game.installed = false;
game.local_version = None;
}
}
}