Skip to content

rc_runtime_format_achievement_measured

Jamiras edited this page Aug 30, 2021 · 1 revision

Generates a displayable string for the current progress of a Measured achievement. (i.e. 75% or 15/20)

Syntax

int rc_runtime_format_achievement_measured(
    const rc_runtime_t* runtime,
    unsigned id,
    char* buffer,
    size_t buffer_size
);

Parameters

runtime

Pointer to the runtime object that contains the achievement trigger reference.

id

Unique identifier of the achievement.

buffer

Buffer to hold the formatted string.

buffer_size

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

Return value

The return value is the number of characters written to buffer.

Minimum version: 10.2.0

See also

rc_runtime_activate_achievement

rc_runtime_deactivate_achievement

rc_runtime_do_frame

rc_runtime_get_achievement_measured

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