hex-world
    Preparing search index...

    Interface CellSnapshot

    Snapshot of one cell across every mutable channel. bytes holds [terrain, elevation, flags, riverDir, roadBits, riverInBits, ...featureLevels]; meta is a deep clone of the cell's metadata record (null = no metadata). Derived data (water surfaces, shore distances) is intentionally excluded — ChunkManager.update() recomputes it for dirty regions.

    interface CellSnapshot {
        bytes: Uint8Array;
        meta: Record<string, unknown> | null;
    }
    Index

    Properties

    Properties

    bytes: Uint8Array
    meta: Record<string, unknown> | null