Conversation
tiancra
commented
Aug 30, 2026
- 可选择本地谱面联机
- 本地谱面会先上传到服务端,客户端准备时会从服务端下载
- 本地谱面联机会直接向服务端上传成绩,在线谱面走原始的路径
- 本地谱面联机(LocalChart):房主选择本地谱面分享,经 game 连接上传/下载谱面包(chart_cache 中转),玩家就绪后开始游戏 - 本地谱面成绩直传:PlayedWithScore 命令,客户端直传最终成绩,不再依赖官方 record id 回源 - Stream::new 增加 activity 心跳参数 + 分块读取 + 提升单包上限(支持大谱面包传输不超时断连)
- played(id):发送 ClientCommand::Played(在线谱面原始渠道,服务端回源官方 record) - played_with_score(...):发送 ClientCommand::PlayedWithScore(本地谱面成绩直传)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.