refactor: 重构轨道系统、拆分谱包/谱面加载器、移除谱面定数字段#400
Open
Chen-Luan wants to merge 16 commits into
Hidden character warning
The head ref may contain hidden characters: "Refactor/\u91cd\u6784\u8c31\u5305\u8c31\u9762\u52a0\u8f7d"
Open
Conversation
Collaborator
|
没看 diff,给全项目修 typo 是一个涉及面比较广的事,如果只是相关模块的 typo 那在 commit 的提一下就好,如果真是全项目建议单独提一个 fix typo pr |
724c589 to
0723575
Compare
AI 编写,人工 CR
移除 ChartMetadata.Level 属性及相关构造函数参数 移除 ChartMetaDataEditorModel.Level 响应式属性 移除 ChartDataView 中 levelField 的 UI 绑定 移除 ChartDataViewModel 中 ChartLevelString 和 SetChartLevelString
将 InternalChartPackItem 结构体合入 InternalChartPackListSO 文件 重命名字段 Path -> ChartPackFilePath 为 ChartPackLevels 添加命名空间 CyanStars.Chart
将 ChartLoadHelper 静态工具类拆分为职责单一的加载器: - ChartPackDataLoader: 谱包批量/增量加载与重载 - ChartDataLoader: 单个谱面数据加载 ChartModule 改用新的加载器接口,移除 ChartPackFileName 常量 新增 OnSelectedChartChanged 事件用于 UI 响应选中变化 移除 RuntimeChartPack.DifficultiesAbleToPlay 字段
新增静态注册表替代模块级反射扫描: - TrackTypeRegistry: 管理 轨道键->轨道数据类型 映射 - TrackLoaderRegistry: 管理 轨道数据类型->ITrackLoader 映射 从 ChartModule 中移除 TrackKeyToTypeMap 及反射逻辑 ChartTrackDataReadConverter 改由 TrackTypeRegistry 查询 MusicGameProcedure 改由 TrackLoaderRegistry 查询 移除 MusicGameTrackModule 数据模块
MapListPage: 移除无用 import 和字段,简化 lambda ChartPackData: 更新谱面包内部文档注释 补上 Loading/ 目录的 .meta 文件
2a804a1 to
4f035a9
Compare
35f384b to
43c93c0
Compare
memorydream
reviewed
Jun 21, 2026
memorydream
reviewed
Jun 21, 2026
10c288b to
0651f71
Compare
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.
Uh oh!
There was an error while loading. Please reload this page.