Skip to content

rc_client_set_hardcore_enabled

Jamiras edited this page May 30, 2023 · 1 revision

Sets whether hardcore mode is enabled (on by default).

Syntax

void rc_client_set_hardcore_enabled(
    rc_client_t* client,
    int enabled
);

Parameters

client

The rc_client_t to modify.

enabled

0 to disable hardcore, 1 to enable hardcore.

Remarks

Changing the hardcore value causes the unlock state of the achievements for the loaded game to be updated.

Leaderboards will not activate and cannot be attempted if hardcore is disabled.

Enabling hardcore with a game loaded will raise a RC_CLIENT_EVENT_RESET event. Processing will be disabled until rc_client_reset is called.

Minimum version: 11.0.0

See also

rc_client_get_hardcore_enabled

rc_client_reset

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