集成tsrpc代替protobuf

This commit is contained in:
YHH
2025-08-09 18:56:19 +08:00
parent e56278e4a6
commit 6e21ff08d5
48 changed files with 5942 additions and 3398 deletions

View File

@@ -1,7 +1,7 @@
{
"name": "@esengine/ecs-framework-network",
"version": "1.0.0",
"description": "ECS框架网络插件 - 提供protobuf序列化、帧同步和快照功能",
"description": "ECS框架网络插件 - 提供TSRPC网络通信、帧同步和快照功能",
"type": "module",
"main": "bin/index.js",
"types": "bin/index.d.ts",
@@ -14,7 +14,7 @@
"ecs",
"networking",
"frame-sync",
"protobuf",
"tsrpc",
"serialization",
"multiplayer",
"game-engine",
@@ -37,11 +37,12 @@
"author": "yhh",
"license": "MIT",
"dependencies": {
"protobufjs": "^7.5.3",
"reflect-metadata": "^0.2.2",
"ws": "^8.18.0",
"isomorphic-ws": "^5.0.0",
"uuid": "^10.0.0"
"uuid": "^10.0.0",
"tsrpc": "^3.4.19",
"tsbuffer": "^2.2.10"
},
"peerDependencies": {
"@esengine/ecs-framework": ">=2.1.29"