Skip to content

rc_client_get_subset_info

Jamiras edited this page Nov 16, 2025 · 1 revision

Gets information about a subset of the active game.

Syntax

const rc_client_subset_t* rc_client_get_game_info(
    const rc_client_t* client,
    uint32_t subset_id
);

Parameters

client

The rc_client_t managing the game.

subset_id

The unique identifier of the subset to retrieve information about.

Return value

Pointer to a rc_client_subset_t object containing information about the subset, or NULL if the subset could not be found.


rc_client_subset_t

typedef struct rc_client_game_t {
  uint32_t id;
  const char* title;
  const char badge_name[16];
  uint32_t num_achievements;
  uint32_t num_leaderboards;
  const char* badge_url;
} rc_client_game_t;

id

The unique identifier of the subset.

title

The title of the subset.

badge_name

The unique identifier of the image that should be shown when loading or completing the game. See also rc_client_game_get_image_url.

num_achievements

The number of achievements in the subset.

num_leaderboards

The number of leaderboards in the subset.

badge_url(Minimum version: 12.0.0)

A URL to the game's badge image.

Remarks

Minimum version: 11.0.0

See also

rc_client_get_game_info

rcheevos
rc_client

Integration guide

client

user

game

processing

additional data

rc_client_raintegration

Integration guide

rc_runtime
rhash
rapi

common

user

runtime

info

Clone this wiki locally