重构network库(mvp版本)搭建基础设施和核心接口

定义ITransport/ISerializer/INetworkMessage接口
NetworkIdentity组件
基础事件定义
This commit is contained in:
YHH
2025-08-13 13:07:40 +08:00
parent 25136349ff
commit 62f250b43c
97 changed files with 1877 additions and 16607 deletions

View File

@@ -1,23 +1,24 @@
/**
* ECS Framework 网络库 - 客户端
*
* 提供网络客户端功能,包括连接管理、预测、插值等
* @esengine/network-client
* ECS Framework网络层 - 客户端实现
*/
// 核心模块
export * from './core';
// 核心客户端 (待实现)
// export * from './core/NetworkClient';
// export * from './core/ServerConnection';
// 传输层
export * from './transport';
// 传输层 (待实现)
// export * from './transport/WebSocketClient';
// export * from './transport/HttpClient';
// 装饰器
export * from './decorators';
// 系统层 (待实现)
// export * from './systems/ClientSyncSystem';
// export * from './systems/ClientRpcSystem';
// export * from './systems/InterpolationSystem';
// 系统
export * from './systems';
// 平台适配器 (待实现)
// export * from './adapters/BrowserAdapter';
// export * from './adapters/CocosAdapter';
// 接口
export * from './interfaces';
// 版本信息
export const VERSION = '1.0.11';
// 重新导出shared包的类型
export * from '@esengine/network-shared';