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

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.
 

Detailed Description

A single achievement belonging to the loaded game

Member Data Documentation

◆ badge_locked_url

const char* game_rc_achievement::badge_locked_url

URL of the locked (greyscale) badge, or NULL

◆ badge_url

const char* game_rc_achievement::badge_url

URL of the unlocked (full colour) badge, or NULL

◆ description

const char* game_rc_achievement::description

Description of how the achievement is earned, or NULL

◆ id

unsigned int game_rc_achievement::id

Unique RetroAchievements ID of the achievement.

◆ points

unsigned int game_rc_achievement::points

Point value of the achievement.

◆ rarity

float game_rc_achievement::rarity

Percentage of players who earned this achievement, 0.0 if unknown.

◆ rarity_hardcore

float game_rc_achievement::rarity_hardcore

Percentage of players who earned this in hardcore, 0.0 if unknown.

◆ title

const char* game_rc_achievement::title

Title of the achievement, or NULL if unknown.

◆ unlock_state

GAME_RC_UNLOCK_STATE game_rc_achievement::unlock_state

Whether and how the player has earned this achievement.

◆ unlock_time

int64_t game_rc_achievement::unlock_time

Unix time the achievement was earned, or 0 if it was not.


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