Skip to content

readReplayFile beta ​

Function of @v12-engine/editor

ts
export declare function readReplayFile(bytes: Uint8Array, registry: Pick<Registry, 'game'>): {
    replay: Replay;
} | {
    problem: string;
};

The replay a file of the map's holds, or why it is none to open (problem): not a replay, or another game's