- network-protocols: 共享协议包,使用 TSRPC CLI 生成完整类型验证 - network: 浏览器客户端,提供 NetworkPlugin、NetworkService 和同步系统 - network-server: Node.js 服务端,提供 GameServer 和房间管理
35 lines
992 B
JSON
35 lines
992 B
JSON
{
|
|
"name": "@esengine/network",
|
|
"displayName": "Network",
|
|
"description": "TSRPC-based network synchronization for multiplayer games",
|
|
"version": "1.0.0",
|
|
"category": "network",
|
|
"dependencies": [],
|
|
"components": [
|
|
{
|
|
"name": "NetworkIdentity",
|
|
"displayName": "Network Identity",
|
|
"description": "Identifies an entity on the network"
|
|
},
|
|
{
|
|
"name": "NetworkTransform",
|
|
"displayName": "Network Transform",
|
|
"description": "Syncs entity position and rotation"
|
|
}
|
|
],
|
|
"systems": [
|
|
{
|
|
"name": "NetworkSyncSystem",
|
|
"description": "Handles state synchronization"
|
|
},
|
|
{
|
|
"name": "NetworkSpawnSystem",
|
|
"description": "Handles entity spawning/despawning"
|
|
},
|
|
{
|
|
"name": "NetworkInputSystem",
|
|
"description": "Handles input collection and sending"
|
|
}
|
|
]
|
|
}
|