Skip to content

cutWorldOf beta ​

Function of @v12-engine/client/common

ts
export declare function cutWorldOf(source: {
    entity(id: number): EntityState | undefined;
    tick(): number;
    tickRate: number;
    fog(): FogState;
}): CutWorld;

A CutWorld of what any session gives: entities as its snapshots tell them, its tick and rate, and its fog