Skip to content

rc_client_game_get_image_url

Jamiras edited this page Jun 17, 2025 · 2 revisions

Gets the URL for a game's badge image.

Syntax

int rc_client_game_get_image_url(
    const rc_client_game_t* game,
    char buffer[],
    size_t buffer_size
);

Parameters

game

The rc_client_game_t retrieved from rc_client_get_game_info.

buffer

A buffer to populate with the URL.

buffer_size

The number of characters that the buffer can hold.

Return value

RC_OK on success, or RC_INVALID_STATE if game or buffer is not provided.

Remarks

Minimum version: 11.0.0

NOTE: As of 12.0.0, this function just copies the string from the badge_url field of the rc_client_get_game_info structure. As such, you can just use that directly instead of calling this function.

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