Skip to content

rc_client_user_get_image_url

Jamiras edited this page Jun 17, 2025 · 2 revisions

Gets the URL for a user's profile picture.

Syntax

int rc_client_user_get_image_url(
    const rc_client_user_t* user,
    char buffer[],
    size_t buffer_size
);

Parameters

user

The rc_client_user_t retrieved from rc_client_get_user_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 user 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 avatar_url field of the rc_client_get_user_info structure. As such, you can just use that directly instead of calling this function.

See also

rc_client_get_user_info

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