|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
A single achievement belonging to the loaded game More...
#include <game.h>
Public Attributes | |
| unsigned int | id |
| Unique RetroAchievements ID of the achievement. | |
| const char * | title |
Title of the achievement, or NULL if unknown. | |
| const char * | description |
Description of how the achievement is earned, or NULL | |
| const char * | badge_url |
URL of the unlocked (full colour) badge, or NULL | |
| const char * | badge_locked_url |
URL of the locked (greyscale) badge, or NULL | |
| unsigned int | points |
| Point value of the achievement. | |
| GAME_RC_UNLOCK_STATE | unlock_state |
| Whether and how the player has earned this achievement. | |
| int64_t | unlock_time |
| Unix time the achievement was earned, or 0 if it was not. | |
| float | rarity |
| Percentage of players who earned this achievement, 0.0 if unknown. | |
| float | rarity_hardcore |
| Percentage of players who earned this in hardcore, 0.0 if unknown. | |
A single achievement belonging to the loaded game
| const char* game_rc_achievement::badge_locked_url |
URL of the locked (greyscale) badge, or NULL
| const char* game_rc_achievement::badge_url |
URL of the unlocked (full colour) badge, or NULL
| const char* game_rc_achievement::description |
Description of how the achievement is earned, or NULL
| unsigned int game_rc_achievement::id |
Unique RetroAchievements ID of the achievement.
| unsigned int game_rc_achievement::points |
Point value of the achievement.
| float game_rc_achievement::rarity |
Percentage of players who earned this achievement, 0.0 if unknown.
| float game_rc_achievement::rarity_hardcore |
Percentage of players who earned this in hardcore, 0.0 if unknown.
| const char* game_rc_achievement::title |
Title of the achievement, or NULL if unknown.
| GAME_RC_UNLOCK_STATE game_rc_achievement::unlock_state |
Whether and how the player has earned this achievement.
| int64_t game_rc_achievement::unlock_time |
Unix time the achievement was earned, or 0 if it was not.