Skip to content

rc_client_raintegration_get_achievement_state

Jamiras edited this page Apr 10, 2024 · 1 revision

Gets the modification state of an achievement.

Syntax

int rc_client_raintegration_get_achievement_state(
    rc_client_t* client,
    uint32_t achievement_id
);

Parameters

client

The rc_client_t managing the RA integration.

achievement_id

The unique identifier of the achievement to query.

Returns

result description
RC_CLIENT_RAINTEGRATION_ACHIEVEMENT_STATE_PUBLISHED A published, unmodified achievement
RC_CLIENT_RAINTEGRATION_ACHIEVEMENT_STATE_MODIFIED A published achievement that has been modified locally
RC_CLIENT_RAINTEGRATION_ACHIEVEMENT_STATE_LOCAL An unpublished achievement
RC_CLIENT_RAINTEGRATION_ACHIEVEMENT_STATE_INSECURE A published, unmodified achievement, but the user has modified RAM

Remarks

Should be called when constructing an Achievement Unlocked notification to indicate additional information about the state of the achievement being unlocked. See example in integration guide.

Minimum version: 11.3.0

See also

rc_client_set_event_handler

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