传输层实现(客户端/服务端,链接管理和心跳机制,重连机制)

消息序列化(json序列化,消息压缩,消息ID和时间戳)
网络服务器核心(networkserver/基础room/链接状态同步)
网络客户端核心(networkclient/消息队列)
This commit is contained in:
YHH
2025-08-14 23:59:00 +08:00
parent 32092f992d
commit 6730a5d625
29 changed files with 8100 additions and 236 deletions

View File

@@ -9,18 +9,21 @@ export * from './types/TransportTypes';
// 协议消息
export * from './protocols/MessageTypes';
export * from './protocols/MessageManager';
// 核心组件
export * from './components/NetworkIdentity';
// 装饰器系统 (待实现)
// export * from './decorators/SyncVar';
// export * from './decorators/ServerRpc';
// export * from './decorators/ClientRpc';
// export * from './decorators/NetworkComponent';
// 传输层
export * from './transport/HeartbeatManager';
export * from './transport/ErrorHandler';
// 事件系统
export * from './events/NetworkEvents';
// 序列化系统 (待实现)
// export * from './serialization/NetworkSerializer';
// 序列化系统
export * from './serialization/JSONSerializer';
export * from './serialization/MessageCompressor';
// 工具类
export * from './utils';