feat: implemented ClueDB, ClueData and ClueID

This commit is contained in:
Sara Gerretsen 2025-10-21 22:57:28 +02:00
parent 3ff4935e02
commit 46d8749c2c
10 changed files with 165 additions and 27 deletions

View file

@ -29,7 +29,9 @@ void ClueData::reveal() {
return;
}
this->revealed = true;
ydi::client::send::reveal_clue(this->id);
if (ydi::client::status() == NetworkData::CONNECTION_AUTHENTICATED) {
ydi::client::send::reveal_clue(this->id);
}
}
bool ClueData::get_revealed() const {