Achievements: Backports from PCSX2

This commit is contained in:
Connor McLaughlin
2022-10-08 20:25:34 +10:00
parent 6d32e9bc10
commit 550b4928c2
8 changed files with 167 additions and 49 deletions

View File

@@ -149,7 +149,8 @@ u32 GetPrimedAchievementCount();
const Achievement* GetAchievementByID(u32 id);
std::pair<u32, u32> GetAchievementProgress(const Achievement& achievement);
TinyString GetAchievementProgressText(const Achievement& achievement);
const std::string& GetAchievementBadgePath(const Achievement& achievement, bool download_if_missing = true);
const std::string& GetAchievementBadgePath(const Achievement& achievement, bool download_if_missing = true,
bool force_unlocked_icon = false);
std::string GetAchievementBadgeURL(const Achievement& achievement);
#ifdef WITH_RAINTEGRATION