Skip to content

A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.

1.4 KB
Raw Blame
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: Copyright (c) 2024-present ESEngine Team
/**
 * @file    index.ts
 * @brief   World residency: what exists, and why it exists right now.
 */

export {
    StreamedWorld, StreamPlane, WorldPersistent, WorldStreamingSource,
    type StreamedWorldData, type WorldStreamingSourceData,
} from './components';
export {
    desiredResidency, distanceToCell, cellAt, cellSquare, manifestPlane, planeSecond,
    type WorldCell, type WorldManifest, type ResidencySource, type ResidencyDecision,
} from './cells';
export {
    WorldStreamer, WorldStreaming,
    type CellResidency, type WorldStreamHost, type WorldStreamerStatus, type CellDelivery,
} from './WorldStreamer';
export { worldResidencyPlugin, worldResidencySystem } from './residencyPlugin';
export { worldResidencyReport, type WorldResidencyReport } from './report';
export { persistentEntityRows, stableEntityId } from './identity';
export {
    partitionWorld,
    type PartitionOptions, type PartitionedCell, type PrefabRoot, type WorldPartition,
} from './partitionWorld';
export {
    cutWorld, cellDocumentPath, worldManifestPath, WORLD_DIR,
    prefabRootOf, resolvePrefabRoots, type CutWorld,
} from './cutWorld';
export { registryEntityFields } from './componentRefs';
export {
    ProceduralChunks, ProceduralChunksRes, chunksOf, streamingSourcesOf,
    type ChunkLayer, type ChunkSource, type ChunkState, type ChunkLayerStatus,
} from './chunks';