|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
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 | |
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.
| unsigned int game_rc_achievement_progress::id |
Unique RetroAchievements ID of the achievement.
| float game_rc_achievement_progress::measured_percent |
Progress towards the achievement, from 0.0 to 100.0.
| const char* game_rc_achievement_progress::measured_progress |
Human-readable progress such as "45/100", or NULL