17 lines
276 B
C
17 lines
276 B
C
|
#pragma once
|
||
|
#include "stdafx.h"
|
||
|
#include <thread>
|
||
|
#include "../Utilities/Timer.h"
|
||
|
|
||
|
class AutoSaveManager
|
||
|
{
|
||
|
private:
|
||
|
const uint32_t _autoSaveSlot = 6;
|
||
|
std::thread _autoSaveThread;
|
||
|
atomic<bool> _stopThread;
|
||
|
Timer _timer;
|
||
|
|
||
|
public:
|
||
|
AutoSaveManager();
|
||
|
~AutoSaveManager();
|
||
|
};
|