Commit Graph

31 Commits

Author SHA1 Message Date
liantian-cn
fd5b04463a feat: 模块目录迁移至用户配置目录
模块存储位置从 exe 旁 baseDirectory/module 迁移到 {UserProfile}/.config/{AppName}/module
(AppName 动态取程序集名,Windows 下为 C:\Users\<用户名>\.config\Shigure\module)。

- ModuleStore.ResolveModuleDirectory 改为无参静态方法,删除 Shigure.csproj 检测死代码
- AppInfo 新增 AppName(程序集名单一来源,与 Version 惯例一致)
- Program.cs 新增启动迁移提示:旧目录有内容且新目录无模块文件时弹纯文案提示
- StatusForm 关于页在路径位于 exe 目录外时显示完整路径;编辑器打开文件夹跟随新路径
- csproj 删除 module 复制项;仓库根 module/ 示例目录保留
- 文档同步更新(README/CLAUDE/打包说明/Obsidian 01/11/00/10)
- 旧模块不自动迁移,由提示引导用户手动移动
2026-08-15 11:21:10 +08:00
waynebian01
99300fb702 feat: Implement module dependency management and unsaved changes tracking
- Added `HasUnsavedChanges` property to `ClassConfigEditorControl` and `ClassMacrosEditorControl` to track unsaved changes.
- Introduced `ModuleDependencyService` for handling module dependencies, including capturing and importing configurations and macros.
- Implemented atomic file writing in `AtomicFile` to ensure safe file operations.
- Enhanced `MainForm` to check for unsaved changes before importing module dependencies and added feedback mechanisms for users.
- Updated `ModuleEditorControl` to support dependency capturing and module reloading.
- Created data structures for module dependency snapshots, configurations, and macros.
- Improved error handling and user notifications during module import processes.
2026-08-14 17:36:45 +08:00
waynebian01
ad244fa337 更新条件编辑器和模块编辑器,添加动态条件字段验证和新法术配置 2026-08-13 21:26:18 +08:00
waynebian01
3740a21746 新增模块操作按钮并优化链接图标绘制逻辑 2026-08-11 11:22:23 +08:00
waynebian01
88eb47146c 新增动态数值类别并更新相关字段处理逻辑 2026-08-11 11:03:23 +08:00
waynebian01
993f596bb1 Refactor ModuleEditorControl and StatusForm for improved UI consistency and functionality
- Updated ModuleEditorControl to utilize UiCardPanel for sidebar and footer layouts, enhancing visual coherence.
- Introduced UiPillTab for tab navigation, providing a more modern and responsive design.
- Adjusted padding, margins, and background colors across various controls for a cleaner appearance.
- Implemented new methods for handling button styles and actions, including a new OpenModuleFolder method for better user experience.
- Refined StatusForm layout, integrating UiCardPanel for information display and adjusting component arrangements for clarity.
- Removed redundant graphics path creation methods, centralizing functionality in UiTheme.
- Enhanced overall code readability and maintainability through consistent styling and structure.
2026-08-11 01:53:06 +08:00
waynebian01
bfd1c05b6e 新增模块网站链接并优化导航按钮样式 2026-08-11 01:16:34 +08:00
waynebian01
c4149daf57 增强模块编辑器的下拉框功能,优化组合框显示和绘制,确保与系统主题一致 2026-08-10 18:16:45 +08:00
waynebian01
6df48157d3 Enhance UI Theme and Add UiCardPanel Component
- Updated color definitions in UiTheme.cs for improved UI aesthetics.
- Introduced ButtonKind enum for better button styling options.
- Added CreateButton method to streamline button creation with different styles.
- Improved item height calculations in various controls for better layout.
- Implemented ListColumn and ListColumnLayoutState for dynamic ListView column management.
- Added FitListViewColumns method to ensure ListView columns adjust properly to available space.
- Created UiCardPanel class for rounded card-like UI elements with custom painting.
2026-08-10 17:13:55 +08:00
waynebian01
ef40fcc326 feat: 添加宏条件支持到 keymap,更新 priest.json 中的技能条目 2026-08-06 14:54:51 +08:00
waynebian01
5a00da85d5 Refactor and implement runtime session management
- Removed the UnitSelector class from UI and added a new UnitSelector class in Modules.
- Introduced RuntimeSessionCoordinator to manage runtime sessions, ensuring safe concurrent operations.
- Created ShigureRuntimeFactory to handle the creation of ShigureRuntime instances.
- Added WindowsTriggerKeyState and WindowsVirtualKeyMap for handling key states and virtual key mappings.
- Implemented IKeymapResolver interface for key mapping resolution.
- Established runtime dependencies with interfaces for screen scanning, state building, logic evaluation, and key output.
2026-08-06 01:17:28 +08:00
waynebian01
e0a2a2ba1b feat(UI): Enhance ClassConfigEditorControl with spellsList display and improve ModuleEditorControl UI
- Added a new DataGridView for displaying spellsList in ClassConfigEditorControl.
- Updated tab structure to include spellsList page and adjusted column counts accordingly.
- Implemented FillSpellsListGrid method to populate spellsList data.
- Modified ModuleEditorControl to include a button for fetching modules from the website.
- Improved button layout and styling for better user experience.
- Added watermark functionality in StatusForm with a transparent background for better aesthetics.
- Enhanced the About panel with additional information fields and improved layout.
2026-07-31 02:11:57 +08:00
waynebian01
b7dbe1e5a6 feat: update warrior keymap and add priest keymap with new skills and hotkeys
- Modified warrior keymap to change the unit for "拳击" and ensure proper formatting.
- Introduced a new ReservedUnit class to manage reserved units and their display names.
- Added a comprehensive priest keymap with multiple skills and corresponding hotkeys, enhancing gameplay functionality.
2026-07-30 01:32:16 +08:00
waynebian01
3ecba771ad 优化界面 2026-07-29 17:24:46 +08:00
waynebian01
1794059fcc 添加治疗吸收字段支持,更新屏幕扫描结果结构,调整状态构建逻辑以包含治疗吸收数据,并在模块编辑器中添加相应选项。 2026-07-27 16:33:43 +08:00
waynebian01
ff188ed501 更新模块解析逻辑,添加推荐天赋字段,调整职业文件命名为英文,优化配置文件读取,删除无用的配置文件,修复光环识别相关问题。 2026-07-27 01:27:14 +08:00
waynebian01
789058de52 删除了光环识别 2026-07-25 14:34:00 +08:00
waynebian01
f251aefedd 可以在"识别光环"里获取光环的层数了, 最大20层 2026-06-20 14:09:59 +08:00
waynebian01
2be6bbf168 Release 1.2.0.0 2026-06-19 23:29:19 +08:00
waynebian01
1fdf3af69f 调整了UI界面 2026-06-19 01:06:54 +08:00
waynebian01
769bd907fc 添加了版本号, 作者选项 2026-06-19 00:45:16 +08:00
waynebian01
654e99cabd 优化了戒律-队伍-神谕者的逻辑 2026-06-17 14:54:51 +08:00
waynebian01
d4fadfbdf5 细微调整UI的宽度 2026-06-17 14:36:08 +08:00
waynebian01
e0c01a0be5 "动态数值"可选择分类了 2026-06-17 11:45:44 +08:00
waynebian01
645095f0e4 改进16 2026-06-16 00:21:55 +08:00
waynebian01
eb53afa819 改进14 2026-06-15 16:31:03 +08:00
waynebian01
c29a59e22c CC改进13 2026-06-15 16:21:33 +08:00
waynebian01
7c05dc0245 改进12 2026-06-15 15:36:41 +08:00
waynebian01
ae5997acce 改进11 2026-06-15 14:33:53 +08:00
waynebian01
37171a1e62 添加了icon, 一键辅助 2026-06-14 13:30:00 +08:00
waynebian01
82333279a8 整合文件夹 2026-06-14 01:13:58 +08:00