chore: update pathfinding, add rpc/world-streaming docs, refactor world-streaming location (#376)
This commit is contained in:
54
packages/framework/world-streaming/src/index.ts
Normal file
54
packages/framework/world-streaming/src/index.ts
Normal 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';
|
||||
Reference in New Issue
Block a user