feat: implemented ClueDB, ClueData and ClueID
This commit is contained in:
parent
3ff4935e02
commit
46d8749c2c
10 changed files with 165 additions and 27 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue