Add DoState to AchievementManager

While state loading is not allowed in the hardcore mode that most players will use, it is allowed in softcore mode; more importantly, if something fails to unlock or unlocks when it shouldn't in either mode the player can create a save that retains the current achievement state.
This commit is contained in:
LillyJadeKatrin
2024-02-16 14:25:04 -05:00
parent 70116b222d
commit 0627209131
3 changed files with 47 additions and 1 deletions

View File

@ -148,6 +148,8 @@ public:
const NamedIconMap& GetChallengeIcons() const;
std::vector<std::string> GetActiveLeaderboards() const;
void DoState(PointerWrap& p);
void CloseGame();
void Logout();
void Shutdown();