- 重构 `RepoItem`,统一点击事件
- 重构 `PlayerInventoryComponent`:
    - `PlayerInventoryStateStore`:状态与库存写模型
    - `PlayerInventoryTowerAssemblyService`:炮塔组装域
    - `PlayerInventoryTowerRosterService`:编队/耐久域
    - `InventoryParticipantUtility`/`InventoryCloneUtility`/`InventorySeedUtility`:通用工具类
This commit is contained in:
SepComet
2026-03-04 22:04:51 +08:00
parent a62309e8c1
commit 9db9aeabcd
27 changed files with 1755 additions and 1665 deletions
@@ -1,4 +1,5 @@
using GeometryTD.CustomComponent;
using GeometryTD.CustomUtility;
using GeometryTD.Definition;
using UnityEngine;
@@ -56,7 +57,7 @@ namespace GeometryTD.UI
BackpackInventoryData rewardInventory = _rewardInventory;
if (rewardInventory == null)
{
rewardInventory = RepoFormUseCase.SampleInventory();
rewardInventory = InventorySeedUtility.CreateSampleInventory();
}
return new CombatFinishFormRawData