Skip to content

新增本地谱面联机 - #46

Open
tiancra wants to merge 2 commits into
TeamFlos:mainfrom
tiancra:feature/local-chart-and-score
Open

tiancra wants to merge 2 commits into
TeamFlos:mainfrom
tiancra:feature/local-chart-and-score

Conversation

@tiancra

@tiancra tiancra commented Aug 30, 2026

Copy link
Copy Markdown
  1. 可选择本地谱面联机
  2. 本地谱面会先上传到服务端,客户端准备时会从服务端下载
  3. 本地谱面联机会直接向服务端上传成绩,在线谱面走原始的路径

- 本地谱面联机(LocalChart):房主选择本地谱面分享,经 game 连接上传/下载谱面包(chart_cache 中转),玩家就绪后开始游戏
- 本地谱面成绩直传:PlayedWithScore 命令,客户端直传最终成绩,不再依赖官方 record id 回源
- Stream::new 增加 activity 心跳参数 + 分块读取 + 提升单包上限(支持大谱面包传输不超时断连)
- played(id):发送 ClientCommand::Played(在线谱面原始渠道,服务端回源官方 record)
- played_with_score(...):发送 ClientCommand::PlayedWithScore(本地谱面成绩直传)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant