Table of Contents

Method b3ValidateReplay

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

b3ValidateReplay(void*, int, int)

Replay a recording from memory and verify it reproduces the same world-state hashes. Stands up a fresh world, restores the seed snapshot, replays every op, and checks each embedded StateHash record. Returns true if replay completed without id mismatches or hash divergences.

public static extern NativeBool b3ValidateReplay(void* data, int size, int workerCount)

Parameters

data void*

pointer to recording bytes

size int

byte count of the recording

workerCount int

reserved for future multithreaded replay; pass 1 for now

Returns

NativeBool

See the Box3D documentation.