Skip to content

rc_runtime_deactivate_achievement

Jamiras edited this page Sep 7, 2020 · 1 revision

Deactivates an achievement trigger previously loaded into the runtime by rc_runtime_activate_achievement.

Syntax

void rc_runtime_deactivate_achievement(
    rc_runtime_t* runtime,
    unsigned id
);

Parameters

runtime

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

id

The unique identifier of the achievement trigger to be deactivated.

Remarks

Deactivating an achievement releases the memory associated to the trigger definition. Any references to an achievement returned by rc_runtime_get_achievement are invalid after deactivating it.

Minimum version: 9.0.0

See also

rc_runtime_activate_achievement

rc_runtime_get_achievement

rc_runtime_do_frame

rc_runtime_destroy

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