chore: update pathfinding, add rpc/world-streaming docs, refactor world-streaming location (#376)

This commit is contained in:
YHH
2025-12-28 19:18:28 +08:00
committed by GitHub
parent 838cda91aa
commit 0662b07445
44 changed files with 3850 additions and 165 deletions

View File

@@ -0,0 +1,54 @@
/**
* @esengine/world-streaming
*
* World streaming and chunk management system for open world games.
*
* 世界流式加载和区块管理系统,用于开放世界游戏。
*/
// Types
export {
EChunkState,
EChunkPriority,
DEFAULT_STREAMING_CONFIG
} from './types';
export type {
IChunkCoord,
IChunkBounds,
IChunkData,
ISerializedEntity,
IChunkInfo,
IChunkLoadRequest,
IStreamingConfig
} from './types';
// Components
export {
ChunkComponent,
StreamingAnchorComponent,
ChunkLoaderComponent
} from './components';
// Systems
export {
ChunkStreamingSystem,
ChunkCullingSystem
} from './systems';
// Services
export {
SpatialHashGrid,
ChunkSerializer,
ChunkManager
} from './services';
export type {
IChunkSerializer,
IChunkDataProvider,
IChunkManagerEvents
} from './services';
// Module
export { WorldStreamingModule, worldStreamingModule } from './WorldStreamingModule';
export type { IWorldStreamingSetupOptions } from './WorldStreamingModule';