Description
The RecountProgression
method in the AchievementCollection
class is used to update the progression of achievements based on the current statistics. This method is intended for updating the user interface to reflect the latest progression data. It does not allow for achievements to be unlocked prematurely by invoking this method.
Usage
To use the RecountProgression
method, you need to have an instance of the AchievementCollection
class. Call the method asynchronously to ensure that the UI reflects the most current achievement progression based on the current stats.
Example
// Example of using RecountProgression
public async Task UpdateAchievementProgression()
{
AchievementCollection achievementCollection = new AchievementCollection();
await achievementCollection.RecountProgression();
// The UI will now reflect the updated progression of achievements
}