Skip to content

rc_runtime_progress_size

Jamiras edited this page Jan 24, 2026 · 2 revisions

Determines how much memory is required to call rc_runtime_serialize_progress.

Syntax

uint32_t rc_runtime_progress_size(
    const rc_runtime_t* runtime,
    lua_State* L
);

Parameters

runtime

Pointer to the runtime state object that will have its progress captured.

L (NOT USED)

A pointer to a lua_State that contains the LUA functions needed by the runtime. May be NULL if the runtime does not use LUA functions.

Return value

The return value is a positive number indicating how many bytes are required to capture the state of the runtime.

Remarks

Minimum version: 9.0.0

See also

rc_runtime_serialize_progress

rc_runtime_deserialize_progress

rcheevos
rc_client

Integration guide

client

user

game

processing

additional data

rc_client_raintegration

Integration guide

rc_runtime
rhash
rapi

common

user

runtime

info

Clone this wiki locally