Files
Shigure/Runtime/RenderSnapshot.cs
waynebian01 f353cda353 Refactor keymap service to support specialization selection, enhance pixel scanner error reporting, and improve UI for dynamic spec management
- Updated KeymapService to handle class and specialization selection, allowing for more granular hotkey management.
- Added MapVirtualKeyW method to NativeMethods for virtual key mapping.
- Enhanced ModuleLogic to include rate limiting and improved logging for rule execution.
- Introduced new reserved units for channeling states in ReservedUnit.
- Modified PixelScanner to return detailed failure reasons for window scanning issues.
- Updated RenderSnapshot to include scan failure reasons for better debugging.
- Enhanced ShigureRuntime to track scan failure reasons and log them appropriately.
- Improved ClassMacrosEditorControl to manage dynamic specialization selection and UI updates.
- Updated MainForm to log scan failure reasons and step details for better traceability.
- Adjusted StatusForm layout and watermark settings for improved visual presentation.
- Updated UI theme to support dynamic spec icons in list boxes.
- Changed configuration files to standardize enemy count terminology from "敌人人数" to "敌人数量".
2026-08-05 23:46:28 +08:00

17 lines
447 B
C#

namespace Shigure;
public sealed record RenderSnapshot(
bool Enabled,
string? ClassName,
string? SpecName,
int? ClassId,
int? SpecId,
string? ModuleName,
GameState? State,
string CurrentStep,
IReadOnlyDictionary<string, object?> UnitInfo,
IReadOnlyList<DynamicValueSnapshot> DynamicValues,
string? ScanFailureReason);
public sealed record DynamicValueSnapshot(string Kind, string Name, string Value);