Skip to main content

IAchievementClient

An interface in Alta.Api.Client, Alta.Api.Client.HighLevel.

Alta web API calls for a user's achievements and action stats. ApiAccess.ApiClient.AchievementClient. The API is gone, so calls fail.

Methods​

MemberWhat it is
Task<IEnumerable<uint>> GetAchievementsForUserAsync(int userId)Gets the hashes of the achievements a user has.
Task<IEnumerable<StatProgress>> GetActionStatsForUserAsync(int userId)Gets a user's action stat progress.
Task UpdateAchievementForUserAsync(int userId, uint achievementHash, bool isCompleted)Marks an achievement (by hash) as done or not done for a user.
Task UpdateActionStatForUserAsync(int userId, List<StatProgress> stats)Sends new progress for a list of a user's action stats.

Used in​

Members of other types that take, return or hold a IAchievementClient: