Skip to content

rc_client_raintegration_has_modifications

Jamiras edited this page Feb 22, 2024 · 1 revision

Allows the client to detect uncommitted modifications before unloading a game.

Syntax

int rc_client_raintegration_has_modifications(
    const rc_client_t* client
);

Parameters

client

The rc_client_t to query.

Returns

Non-zero if modifications are present.

Remarks

If this returns non-zero, the user should be prompted whether or not they wish to proceed with unloading the game. If they choose not to proceed, the game should not be unloaded so the user can save their uncommitted work.

Minimum version: 11.2.0

See also

rc_client_begin_load_raintegration

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