Skip to content

rc_runtime_validate_addresses

Jamiras edited this page Jun 10, 2021 · 1 revision

Allows the caller to validate all addresses used by the runtime without waiting for a call to rc_runtime_do_frame.

Syntax

void rc_runtime_validate_addresses(
    rc_runtime_t* runtime,
    rc_runtime_event_handler_t event_handler,
    rc_runtime_validate_address_t validate_handler
);

Parameters

runtime

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

event_handler

An event handler to call with RC_RUNTIME_EVENT_ACHIEVEMENT_DISABLED or RC_RUNTIME_EVENT_LBOARD_DISABLED when an achievement or leaderboard is disabled because it referenced an invalid address. Will usually be the same event handler that is passed to rc_runtime_do_frame.

validate_handler

A callback to call for each address referenced by the runtime. It should return 0 if the address is not supported, which will disable all achievements and leaderboards dependent on the address, or non-zero if the address is supported.

Remarks

Minimum version: 10.1.0

See also

rc_runtime_do_frame

rc_runtime_invalidate_address

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