chore: align SDK dependencies and document reusable capabilities
Publish UPM package / publish (push) Successful in 2s
Publish NuGet packages / publish (push) Successful in 4m51s

This commit is contained in:
2026-09-29 10:14:47 +08:00
parent fa77a9ea96
commit 123bd170d9
3 changed files with 19 additions and 9 deletions
@@ -5,16 +5,16 @@
<AssemblyName>ShrinkNetwork.Integration.App</AssemblyName> <AssemblyName>ShrinkNetwork.Integration.App</AssemblyName>
<RootNamespace>ShrinkNetwork.Integration.App</RootNamespace> <RootNamespace>ShrinkNetwork.Integration.App</RootNamespace>
<PackageId>ShrinkSDK.Network.Integration.App</PackageId> <PackageId>ShrinkSDK.Network.Integration.App</PackageId>
<Version>0.2.0</Version> <Version>0.2.5</Version>
<Description>ShrinkNetwork and App host integration.</Description> <Description>ShrinkNetwork and App host integration.</Description>
<ShrinkCodeGenEnabled>true</ShrinkCodeGenEnabled> <ShrinkCodeGenEnabled>true</ShrinkCodeGenEnabled>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<Compile Include="..\Runtime\*.cs" /> <Compile Include="..\Runtime\*.cs" />
<PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.1.0" /> <PackageReference Include="ShrinkSDK.Runtime.Abstractions" Version="0.1.0" />
<PackageReference Include="ShrinkSDK.Context.Core" Version="0.2.0" /> <PackageReference Include="ShrinkSDK.Context.Core" Version="0.3.0" />
<PackageReference Include="ShrinkSDK.App.Core" Version="0.2.0" /> <PackageReference Include="ShrinkSDK.App.Core" Version="0.2.3" />
<PackageReference Include="ShrinkSDK.Network" Version="0.3.0" /> <PackageReference Include="ShrinkSDK.Network" Version="0.4.2" />
<PackageReference Include="ShrinkSDK.CodeGen" Version="0.1.0" PrivateAssets="compile;runtime;contentfiles;native" /> <PackageReference Include="ShrinkSDK.CodeGen" Version="0.2.0" PrivateAssets="compile;runtime;contentfiles;native" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+10
View File
@@ -23,3 +23,13 @@ var service = network.Service;
- 本包当前不主动绑定传输层,也不替业务决定 TCP / KCP / Loopback。 - 本包当前不主动绑定传输层,也不替业务决定 TCP / KCP / Loopback。
- 静态消息合同与静态 handler 的默认注册仍由 `ShrinkNetworkRuntime.Default` 完成。 - 静态消息合同与静态 handler 的默认注册仍由 `ShrinkNetworkRuntime.Default` 完成。
- 运行时实例 handler 仍然走 `RegisterHandlers(object target)`。 - 运行时实例 handler 仍然走 `RegisterHandlers(object target)`。
## 可复用能力
<!-- shrink:capabilities -->
Capability: 把网络服务作为 Context 组件和应用服务门面提供
Aliases: 网络宿主 network app
Limits: 不实现具体联网玩法;生命周期决定服务可用性
Extension: shrink.service.network 和原生组件
Evidence: [ShrinkNetworkAppComponent](Runtime/ShrinkNetworkAppComponent.cs)
<!-- /shrink:capabilities -->
+4 -4
View File
@@ -1,14 +1,14 @@
{ {
"name": "com.cneicy.shrink-network-integration-app", "name": "com.cneicy.shrink-network-integration-app",
"version": "0.2.0", "version": "0.2.5",
"displayName": "ShrinkNetwork - App Integration", "displayName": "ShrinkNetwork - App Integration",
"description": "ShrinkNetwork 与 ShrinkApp 的桥接层,把默认网络服务纳入统一宿主服务容器。", "description": "ShrinkNetwork 与 ShrinkApp 的桥接层,把默认网络服务纳入统一宿主服务容器。",
"unity": "2022.3", "unity": "2022.3",
"dependencies": { "dependencies": {
"com.cneicy.shrink-network": "0.3.0", "com.cneicy.shrink-network": "0.4.2",
"com.cneicy.shrink-app-core": "0.2.0", "com.cneicy.shrink-app-core": "0.2.3",
"com.cysharp.unitask": "2.5.10", "com.cysharp.unitask": "2.5.10",
"com.cneicy.shrink-context-core": "0.2.0" "com.cneicy.shrink-context-core": "0.3.0"
}, },
"keywords": [ "keywords": [
"network", "network",