template/packages-user/data-base/src/hero
unanmed 78f6796915 fix(07-11): #06-17-6 preserve follower instances across loadState
- HeroFollowersController 新增 restoreFollowers 保留式恢复入口
- 同索引同图块数字原地 loadState 并保留实例;否则替换槽位并按既有语义触发增删钩子
- 存档中不存在的末尾跟随者按存档为准删除
- HeroState.loadState 改用 restoreFollowers,不再 removeAllFollowers 全量重建(保持同步)
- IHeroFollowersController 补声明与 jsDoc;新增同实例/替换/删除/补齐回归用例
2026-09-17 13:53:46 +08:00
..
attribute.perf.ts test(06-18): migrate 5 existing perf files to performance.mark/measure 2026-09-16 20:26:42 +08:00
attribute.test.ts feat(07-09): make HeroAttribute own its save state in place 2026-09-16 18:37:54 +08:00
attribute.ts fix(07-09): keep hero attribute instance stable and clear generic variance 2026-09-16 19:35:54 +08:00
equipment.test.ts chore(07-04): #06-05-3 annotate the retained 147 skip and close windows 25/26 2026-09-15 20:34:03 +08:00
equipment.ts refactor: 调整录像命名 2026-09-16 21:51:19 +08:00
equipStore.test.ts fix(07-11): #06-17-4 preserve equipment instances across loadState 2026-09-17 13:47:20 +08:00
equipStore.ts fix(07-11): #06-17-4 preserve equipment instances across loadState 2026-09-17 13:47:20 +08:00
follower.test.ts fix(07-11): #06-17-6 preserve follower instances across loadState 2026-09-17 13:53:46 +08:00
follower.ts fix(07-11): #06-17-6 preserve follower instances across loadState 2026-09-17 13:53:46 +08:00
index.ts feat: 装备系统 2026-07-10 15:30:20 +08:00
items.test.ts test(06): restore suite green after replaySystem wiring change 2026-09-14 19:16:32 +08:00
items.ts refactor: 调整录像命名 2026-09-16 21:51:19 +08:00
location.test.ts test(06-05): cover hero assembly and item/equipment pipeline (stage 2) 2026-09-14 15:52:32 +08:00
location.ts style(03-05): normalize scoped data gate formatting 2026-09-10 17:53:33 +08:00
modifier.test.ts test(06-05): cover HeroAttribute and hero modifier formulas (stage 1) 2026-09-14 15:43:59 +08:00
modifier.ts feat: 装备系统 2026-07-10 15:30:20 +08:00
mover.test.ts fix(replay): enable recording guard; update tests for replay refactor 2026-09-14 20:14:01 +08:00
mover.ts refactor: 调整录像命名 2026-09-16 21:51:19 +08:00
rendering.test.ts test(06-05): cover HeroMover async movement and HeroRendering (stage 3) 2026-09-14 15:55:08 +08:00
rendering.ts refactor: 跟随者与勇士移动 2026-06-27 20:33:49 +08:00
saveLoad.test.ts fix(07-11): #06-17-6 preserve follower instances across loadState 2026-09-17 13:53:46 +08:00
state.test.ts fix(07-09): #06-17-1 load hero attribute in place and keep equipment bonuses 2026-09-16 18:43:33 +08:00
state.ts fix(07-11): #06-17-6 preserve follower instances across loadState 2026-09-17 13:53:46 +08:00
types.ts fix(07-11): #06-17-6 preserve follower instances across loadState 2026-09-17 13:53:46 +08:00