added evidence screenshots for vr project
This commit is contained in:
parent
d7ad83abf1
commit
c10ef6289d
27 changed files with 520 additions and 19 deletions
|
|
@ -146,25 +146,6 @@ NetworkData::ConnectionStatus status() {
|
|||
}
|
||||
}
|
||||
|
||||
namespace receive {
|
||||
FixedVector<NetworkData::ClueID, 3> &conclusion() {
|
||||
static FixedVector<NetworkData::ClueID, 3> threadsafe_copy{};
|
||||
if (connection) {
|
||||
threadsafe_copy = connection->conclusion;
|
||||
} else {
|
||||
threadsafe_copy.clear();
|
||||
}
|
||||
return threadsafe_copy;
|
||||
}
|
||||
bool has_conclusion() {
|
||||
if (!connection) {
|
||||
return false;
|
||||
}
|
||||
std::scoped_lock lock{ connection->mtx };
|
||||
return connection->conclusion.is_full();
|
||||
}
|
||||
} //namespace receive
|
||||
|
||||
namespace send {
|
||||
void reveal_clue(NetworkData::ClueID id) {
|
||||
if (connection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue