Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

Progress towards a single measured achievement More...

#include <game.h>

Public Attributes

unsigned int id
 Unique RetroAchievements ID of the achievement.
 
float measured_percent
 Progress towards the achievement, from 0.0 to 100.0.
 
const char * measured_progress
 Human-readable progress such as "45/100", or NULL
 

Detailed Description

Progress towards a single measured achievement

Only achievements whose trigger counts something ("Defeat 50 enemies") have progress worth reporting. The add-on omits the rest, so this array is usually much shorter than the game's achievement list.

Sent separately from game_rc_game_loaded because progress changes as the game is played, whereas the achievement list is resolved once.

Member Data Documentation

◆ id

unsigned int game_rc_achievement_progress::id

Unique RetroAchievements ID of the achievement.

◆ measured_percent

float game_rc_achievement_progress::measured_percent

Progress towards the achievement, from 0.0 to 100.0.

◆ measured_progress

const char* game_rc_achievement_progress::measured_progress

Human-readable progress such as "45/100", or NULL


The documentation for this struct was generated from the following file: