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

Payload of the leaderboard attempt callbacks More...

#include <game.h>

Public Attributes

unsigned int id
 Unique RetroAchievements ID of the leaderboard.
 
const char * title
 Title of the leaderboard, or NULL if unknown.
 
const char * description
 Description of what is being measured, or NULL
 
const char * value
 The value as it stands, already formatted for display, or NULL
 

Detailed Description

Payload of the leaderboard attempt callbacks

A leaderboard is a scored challenge within a game - fastest lap, highest score on a level. The client watches memory for the conditions that start one, and either submits a value or gives up when it ends.

Member Data Documentation

◆ description

const char* game_rc_leaderboard::description

Description of what is being measured, or NULL

◆ id

unsigned int game_rc_leaderboard::id

Unique RetroAchievements ID of the leaderboard.

◆ title

const char* game_rc_leaderboard::title

Title of the leaderboard, or NULL if unknown.

◆ value

const char* game_rc_leaderboard::value

The value as it stands, already formatted for display, or NULL

Leaderboards are scored in different units - seconds, points, frames - and the client formats the raw value accordingly, so this is shown as given rather than interpreted.


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