Skip to main content

MaaReplayControllerCreate

Function MaaReplayControllerCreate 

Source
pub unsafe extern "C" fn MaaReplayControllerCreate(
    recording_path: *const c_char,
) -> *mut MaaController
Expand description

@brief Create a replay controller that replays recorded operations.

@param recording_path Path to the recording JSONL file written by MaaRecordControllerCreate. Screenshot image paths in the file are resolved relative to this file’s parent directory. @return The controller handle, or nullptr on failure.