Struct steamworks::UserAchievementStored [−][src]
pub struct UserAchievementStored {
pub game_id: GameId,
pub achievement_name: String,
pub current_progress: u32,
pub max_progress: u32,
}
Expand description
Result of a request to store the achievements on the server, or an “indicate progress” call.
If both current_progress
and max_progress
are zero, that means the achievement has been
fully unlocked.
Example
let callback_handle = client.register_callback(|val: UserAchievementStored| {
// ...
});
Fields
game_id: GameId
achievement_name: String
current_progress: u32
Current progress towards the achievement.
max_progress: u32
The total amount of progress required to unlock.