This commit is contained in:
ddidderr committed 2025-11-13 21:43:20 +01:00
1 parent 157c8ab68d
commit 8fe68f9574
5 files changed
+142 -80

No files matched your search

+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;
}
}
}