690 B
690 B
module-runtime-story
module-runtime-story 承接 RPG runtime story 的纯领域规则、应用用例、事件和错误模型,不依赖 HTTP / AppState / SpacetimeDB。
当前已经迁入的历史兼容纯逻辑会继续收口为 session scoped 新主链:
- action 结算结果结构。
- action response 组装参数结构。
- NPC 委托上下文结构。
- functionId / 队伍上限常量。
- 少量只依赖
serde_json::Value与shared-contracts的纯 helper。
后续 WP-RS 继续按 battle / forge / NPC / quest / presentation 的顺序,把旧 /api/runtime/story/* 兼容桥中剩余纯规则迁入本 crate,并删除运行代码中的 compat 命名。