辉鸭蛋
|
66f15488e1
|
add bgi version
|
2024-10-03 20:14:04 +08:00 |
|
辉鸭蛋
|
389dac879b
|
js: add CaptureGameRegion
|
2024-10-03 16:24:56 +08:00 |
|
辉鸭蛋
|
8b6351cbd6
|
update: simulator for js
|
2024-10-03 00:40:07 +08:00 |
|
辉鸭蛋
|
ca126e0d66
|
js: +func
|
2024-10-02 19:20:25 +08:00 |
|
辉鸭蛋
|
6c0b293328
|
js: add solo task
|
2024-10-01 21:34:33 +08:00 |
|
辉鸭蛋
|
8de5bcf987
|
auto pick: ForceInteraction
|
2024-10-01 20:10:46 +08:00 |
|
辉鸭蛋
|
8bb1d728ff
|
refactor: solo task
|
2024-09-22 23:56:39 +08:00 |
|
辉鸭蛋
|
8d2b36d5fd
|
refactor: script run
|
2024-09-10 23:27:04 +08:00 |
|
辉鸭蛋
|
c37c43ce92
|
dispatcher supprot pathing script
调度器支持路径追踪功能及多项代码优化
在 `ScriptGroupProject.cs` 中:
- 添加对多个命名空间的引用。
- 修改构造函数,增加 `folder` 和 `type` 参数,删除 `kmName` 参数。
- 添加 `BuildKeyMouseProject` 和 `BuildPathingProject` 静态方法。
- 在 `Run` 方法中增加 `Pathing` 类型处理逻辑。
- 在 `ScriptGroupProjectExtensions` 中增加 `Pathing` 类型描述。
在 `PathingTask.cs` 中:
- 添加 `FileName` 属性,并在 `BuildFromFilePath` 方法中设置。
在 `Navigation.cs` 中:
- 将 `Navigation` 类改为 `public`。
- 添加 `_isWarmUp` 静态字段,防止重复加载地图特征点。
- 将 `GetPosition`、`GetTargetOrientation` 和 `GetDistance` 方法改为 `public`。
在 `GameTaskManager.cs` 中:
- 在 `AddTrigger` 方法中添加注释,指出清理 `TriggerDictionary` 的问题。
在 `ScriptService.cs` 中:
- 在 `RunMulti` 方法中增加 `hasTimer` 变量,并在处理 `Pathing` 类型时设置。
- 修改 `RunMulti` 方法逻辑,确保无定时操作时检查 JS 脚本。
- 在 `Run` 方法中增加 `Pathing` 类型处理逻辑。
在 `MapPathingPage.xaml` 中:
- 注释掉第四列定义和相关 `Grid` 元素。
- 修改 `ListView` 中 `GridViewColumn` 的 `DisplayMemberBinding`。
在 `ScriptControlPage.xaml` 中:
- 在 `ContextMenu` 中添加新的 `MenuItem`,用于添加路径追踪任务。
在 `PromptDialog.xaml.cs` 中:
- 添加新的 `Prompt` 方法,允许指定对话框大小。
- 修改 `ResponseText` 属性逻辑,增加默认返回值。
在 `MapPathingViewModel.cs` 中:
- 调整 `using` 语句顺序,删除重复引用。
在 `ScriptControlViewModel.cs` 中:
- 修改 `OnAddKmScript` 方法,使用 `BuildKeyMouseProject` 方法创建键鼠脚本项目。
- 添加 `OnAddPathing` 方法及其辅助方法,用于添加路径追踪任务。
- 在 `RunSelectedScriptGroup` 方法中,将脚本运行逻辑放入 `Task.Run` 中,避免阻塞 UI 线程。
|
2024-09-08 23:17:48 +08:00 |
|
辉鸭蛋
|
7c1febf307
|
add pathing ui
|
2024-09-01 20:15:47 +08:00 |
|
辉鸭蛋
|
b68b0d85f6
|
Js -> JS
|
2024-08-24 02:28:31 +08:00 |
|
辉鸭蛋
|
461b0b00d1
|
add JS script dynamic settings
|
2024-08-24 02:13:46 +08:00 |
|
辉鸭蛋
|
b7d492e5d2
|
I don't know why this error occurred, but I fixed it
|
2024-08-20 23:35:08 +08:00 |
|
辉鸭蛋
|
b62e4a7425
|
add script group editor
|
2024-08-18 21:41:12 +08:00 |
|
辉鸭蛋
|
c6680ced12
|
add js script page
|
2024-08-17 16:02:54 +08:00 |
|
辉鸭蛋
|
8b0bdef670
|
edit script group name
|
2024-08-15 23:55:57 +08:00 |
|
辉鸭蛋
|
f904fe024b
|
Merge remote-tracking branch 'origin/main' into pr/522
|
2024-08-14 21:57:11 +08:00 |
|
qhy040404
|
c490d29aa1
|
code cleanup
|
2024-08-14 18:01:02 +08:00 |
|
lwh9346
|
49bc6befb7
|
add script support
|
2024-08-14 14:00:56 +08:00 |
|
lwh9346
|
f61a7c32d4
|
add basic code for auto pathing
|
2024-08-14 00:36:57 +08:00 |
|
辉鸭蛋
|
ed9a47a3a1
|
fix dispather thread safe
|
2024-08-11 20:14:32 +08:00 |
|
辉鸭蛋
|
8fa071722e
|
js : dispatcher.addTimer
|
2024-08-11 17:58:22 +08:00 |
|
辉鸭蛋
|
a7153a47f6
|
auto crystalfly init
|
2024-08-11 02:32:00 +08:00 |
|
辉鸭蛋
|
0edf6c13ef
|
script group ui3
|
2024-08-10 21:18:48 +08:00 |
|
辉鸭蛋
|
ad288c60cc
|
script group ui 2
|
2024-08-10 19:16:35 +08:00 |
|
辉鸭蛋
|
308d398036
|
script group ui
|
2024-08-10 13:37:29 +08:00 |
|
辉鸭蛋
|
c1072d0574
|
script: support running macros
|
2024-08-07 01:07:58 +08:00 |
|
辉鸭蛋
|
d5ac4c523e
|
add crud helper
|
2024-08-04 23:47:54 +08:00 |
|
辉鸭蛋
|
4610c9e7ca
|
add script engine
|
2024-08-03 19:41:48 +08:00 |
|
辉鸭蛋
|
917df88099
|
add cancel task hotkey #501
|
2024-07-30 00:12:18 +08:00 |
|
辉鸭蛋
|
076a7596a0
|
refactor some code
|
2024-07-21 19:21:01 +08:00 |
|
辉鸭蛋
|
4243972eeb
|
script async test
|
2024-07-21 12:42:39 +08:00 |
|