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: GameIdachievement_name: Stringcurrent_progress: u32

Current progress towards the achievement.

max_progress: u32

The total amount of progress required to unlock.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.