Skip to content

rc_runtime_invalidate_address

Jamiras edited this page Apr 15, 2021 · 1 revision

Disables any achievements or leaderboards relying on the specified address.

Syntax

void rc_runtime_invalidate_address(
    rc_runtime_t* runtime,
    unsigned address
);

Parameters

runtime

Pointer to the runtime object that contains the achievements and leaderboards.

address

The address that is not supported by the client.

Remarks

Should only be called for addresses within the expected range of the system. If an address is outside the expected range for the system, there shouldn't be any achievements or leaderboards referencing it, so calling rc_runtime_invalidate_address won't do anything but add overhead to the processing.

Disabled achievements will raise the RC_RUNTIME_EVENT_ACHIEVEMENT_DISABLED event the next time rc_runtime_do_frame is called. Disabled leaderboards will raise the RC_RUNTIME_EVENT_LBOARD_DISABLED event.

Minimum version: 10.0.0

See also

rc_runtime_activate_achievement

rc_runtime_activate_lboard

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