Skip to content

rc_client_leaderboard_entry_get_user_image_url

Jamiras edited this page Jun 30, 2023 · 1 revision

Gets the URL for a user's profile picture from a leaderboard entry.

Syntax

int rc_client_leaderboard_entry_get_user_image_url(
    const rc_client_leaderboard_entry_t* entry,
    char buffer[],
    size_t buffer_size
);

Parameters

entry

A rc_client_leaderboard_entry_t from a list returned by rc_client_begin_fetch_leaderboard_entries or rc_client_begin_fetch_leaderboard_entries_around_user.

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 entry or buffer is not provided.

Remarks

Minimum version: 11.0.0

See also

rc_client_begin_fetch_leaderboard_entries

rc_client_begin_fetch_leaderboard_entries_around_user

rcheevos

rc_client

Integration guide

client

user

game

processing

rc_client_raintegration

Integration guide

rc_runtime

rhash

rapi

common

user

runtime

info

Clone this wiki locally