53 bool m_writing =
false;
54 bool m_failed =
false;
void Save(GameConfig config, std::filesystem::path path)
Queue a copy of the configuration for writing.
~ConfigSaver()
Write the copy that waits, if any, and stop the thread.
bool Flush()
Wait until every queued copy is written.
ConfigSaver(const ConfigSaver &)=delete
Prevent copying the writing thread.
ConfigSaver & operator=(const ConfigSaver &)=delete
Prevent assignment of the writing thread.
The settings of BossRally.ini.
Definition config.h:18
Definition assetimport.h:11