playReplay beta
Function of @v12-engine/engine
ts
export declare function playReplay(replay: Replay, options: {
rules: Rules | Record<string, Rules>;
at?: number;
components?: readonly Component<unknown, unknown>[];
navigation?: NavigationBuilds;
}): ReplayPlayer;Plays a replay back, as a watcher's session (connect): a replay of commands run again (playCommands), or what the host sent coming in as it came, by the replay's ticks; speed times as fast. game is the game module it is of, or the modules the page has, by id