Skip to content

rc_runtime_format_lboard_value

Jamiras edited this page Oct 26, 2022 · 2 revisions

Converts a score returned by one of the RC_RUNTIME_EVENT_LBOARD_ events into a displayable string.

Syntax

int rc_runtime_format_lboard_value(
    void* buffer,
    int size,
    int value,
    int format
);

Parameters

buffer

A block of memory where the display string should be written.

size

The size of the block of memory pointed at by buffer.

value

The unformatted value

format

The format to apply to the value. This is provided by the server in the rc_api_leaderboard_definition_t structure.

Return value

Number of characters written to buffer.

Minimum version: 10.0.0

See also

rc_api_process_fetch_game_data_response

rc_runtime_do_frame

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