d2069e888d
AchievementProgressWidget maintains in memory a map of AchievementBox pointers so that UpdateData can operate on them individually. UpdateData is overhauled for three options: UpdateData(true) will destroy the entire list and re-create it from scratch as before, to be used if the game or player changes/closes/logs out. UpdateData(false) will loop through the map and call UpdateData on every achievement box, to be used for certain settings changes such as enabling badges or disabling hardcore mode. UpdateData(set<IDs>) will call UpdateData on only the IDs in the set, to be used when achievements are unlocked. |
||
---|---|---|
.. | ||
AchievementBox.cpp | ||
AchievementBox.h | ||
AchievementHeaderWidget.cpp | ||
AchievementHeaderWidget.h | ||
AchievementLeaderboardWidget.cpp | ||
AchievementLeaderboardWidget.h | ||
AchievementProgressWidget.cpp | ||
AchievementProgressWidget.h | ||
AchievementSettingsWidget.cpp | ||
AchievementSettingsWidget.h | ||
AchievementsWindow.cpp | ||
AchievementsWindow.h |