Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
Game.cpp File Reference
#include "Game.hpp"
#include <QFuture>
#include <tracy/Tracy.hpp>
#include "core/database/RapidTransaction.hpp"
#include "core/database/record/GameData.hpp"
#include "core/database/remote/F95Data.hpp"
#include "core/images/images.hpp"
#include "moc_Game.cpp"

Namespaces

namespace  atlas
 
namespace  atlas::records
 
namespace  atlas::records::internal
 

Functions

static std::shared_ptr< GameDataatlas::records::internal::getPtr (const RecordID key)
 Returns the ptr for the given key. Returns nullptr if not found.
 
static void atlas::records::internal::releasePtr (const RecordID idkey)
 
Game atlas::records::importRecord (QString title, QString creator, QString engine)
 imports a new record and returns it. Will return an existing record if the record already exists
 
bool atlas::records::recordExists (QString title, QString creator, QString engine)
 
RecordID atlas::records::fetchRecord (QString title, QString creator, QString engine)
 

Variables

static std::unordered_map< RecordID, std::shared_ptr< GameData > > atlas::records::internal::map
 
static std::mutex atlas::records::internal::map_mtx