Files
2026-08-28 19:44:46 +08:00

9 lines
824 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 2026-08-26
## 「一切皆模组」架构设计讨论
- 用户提出服务器模式重构方向:游戏逻辑由房间内生效的模组定义,服务器仅做核心队列计算与转发。
- 摸清 FunGame.Core 真实扩展点:规则=GamingQueue 虚钩子(AfterDeathCalculation/AfterCharacterAction/...),行为=Effect 钩子 + EventCenter.Stores;IGameEventHandler 局内事件当前未在对局循环派发。
- 与用户敲定三处分叉:规则形态=queue 子类、行为通道=Effect+Stores、热重载=规则开局锁定。
- 硬约束:只改 FunGame.Server-v3,不碰 FunGame.Core。
- 结论已写入 MEMORY.md(长期架构约定)。下一步:Phase 0 实现(Contracts 加 IRuleModule/RoomModuleSet + 标准近战规则模组 + 重构 CreateGame/RoomStart),待用户确认后开工。