Networking · function

simCompare

-1, 0 or 1. Present so a caller compares through this file rather than by hand.

Explained in Networking and rollback.

function simCompare(a: Sim, b: Sim): number
import { simCompare } from '@driftengine/network';

Parameters

ParameterTypeDescription
aSim
bSim