zzyyyl
|
df903fa77a
|
perf(TaskData): append_prefix 小优化
|
2022-10-29 16:54:35 +08:00 |
|
zzyyyl
|
2598069667
|
feat: 增加 virtual task
```
"Loading": {
"next": [ "Loading", "#next", "" ]
},
"B": {
"next": [ "Other", "B@Loading" ]
}
```
可以生成:
"B@Loading"->next = [ "B@Loading", "Other", "B" ]
"Loading" ->next = [ "Loading" ]
注 (在 m_raw_all_tasks_info 中):
"B@Loading"->next = [ "B@Loading", "B#next", "B" ]
|
2022-10-29 16:54:35 +08:00 |
|
zzyyyl
|
cc8f3a3c88
|
fix: 修复部分任务生成失败的问题
```
"B@A1": { "next": [ "B@A2#next" ] },
"B@A2": { "next": [ "N0" ] },
"C@B@A2": { "next": [ "N1" ] }
```
以上这种情况, `Task.get("C@B@A1")->next` 应该为 `[ "N1" ]` 而不是 `[ "C@N0" ]`.
|
2022-10-29 16:54:34 +08:00 |
|
zzyyyl
|
9618968d38
|
feat: 尝试把 sharp_task 的生成变为预处理,大幅修改 TaskData
|
2022-10-29 16:54:34 +08:00 |
|
MistEO
|
24d1dfd3e8
|
Merge pull request #2412 from MaaAssistantArknights/feat/enum_to_string
feat: 为部分枚举类型增加与字符串类型的互转函数
|
2022-10-24 22:00:51 +08:00 |
|
zzyyyl
|
fd4dfbf6ce
|
feat: 重载枚举类型 AlgorithmType, ProcessTaskAction 的 std::to_string(), 并在回调与日志输出时使用 std::to_string()
|
2022-10-24 15:42:05 +08:00 |
|
zzyyyl
|
b977ae03cf
|
feat: 新增字段 baseTask 用来直接继承(模板任务的变体)
refactor: 重构模板任务相关的生成逻辑
|
2022-10-23 22:18:58 +08:00 |
|
zzyyyl
|
0fe585f731
|
fix(TaskData): 修复 syntax_check 检查模板类型时无法确定 algorithm 的问题
|
2022-10-21 16:39:16 +08:00 |
|
zzyyyl
|
2029be5fcc
|
fix(TaskData): 修复一个 with_emplace 的 bug
|
2022-10-21 16:26:38 +08:00 |
|
MistEO
|
11979bf8b0
|
fix: 修复debug默认下外服加载错误,修复掉落上传服务器错误
|
2022-10-21 01:08:55 +08:00 |
|
zzyyyl
|
9fb1b94f34
|
fix: 修复任务特化时 next 等不带前缀的问题
|
2022-10-15 16:32:48 +08:00 |
|
zzyyyl
|
71f113a8a1
|
feat: 增加一些模板任务生成逻辑
除了 template,其余参数若留空则生成时继承模板任务的参数
Co-authored-by: Horror Proton <107091537+horror-proton@users.noreply.github.com>
|
2022-10-15 16:32:40 +08:00 |
|
zzyyyl
|
4da88f326a
|
fix: 修复 reduce_other_times 不能正常工作的问题
perf: 优化回调处理
Co-authored-by: MistEO <mistereo@hotmail.com>
|
2022-10-13 14:30:24 +08:00 |
|
zzyyyl
|
add9ca6ae8
|
feat(TaskData): static generate_task_info
|
2022-10-07 22:15:52 +08:00 |
|
zzyyyl
|
4d1307c2ee
|
fix: 修复笔误
|
2022-10-07 21:51:32 +08:00 |
|
zzyyyl
|
f06231eae0
|
feat: 完成之前画的饼
1. base 存在相同前缀则不加前缀
2. tasks 个数超过上限的时候返回临时值
我没测试
|
2022-10-07 20:59:46 +08:00 |
|
zzyyyl
|
cd4b4fb64d
|
perf: 按照 reviews 意见修改 TaskData
|
2022-10-07 20:06:54 +08:00 |
|
zzyyyl
|
0f705361f3
|
style: format
|
2022-10-07 19:57:38 +08:00 |
|
zzyyyl
|
9890c942da
|
feat: reduce_other_times 从模板任务生成时也加上前缀
|
2022-10-07 19:57:38 +08:00 |
|
zzyyyl
|
47b5ecf40b
|
feat: 增加模板任务逻辑
|
2022-10-07 19:52:25 +08:00 |
|
zzyyyl
|
607bc8f544
|
style: format
|
2022-10-02 20:27:09 +08:00 |
|
zzyyyl
|
a9365a1fa6
|
fix: 修一些 tasks.json 的 bug
|
2022-10-02 17:39:03 +08:00 |
|
zzyyyl
|
883429ffb1
|
feat: debug 模式下,tasks.json 加载的时候做一个语法检查
link to beddc7c828
|
2022-10-01 23:35:35 +08:00 |
|
zzyyyl
|
c9b5aa638a
|
refactor: 给头文件加上路径
直接在上一个 commit 里改的话可能会导致 history 消失
|
2022-09-29 23:30:32 +08:00 |
|
MistEO
|
7c8bf92eb4
|
refactor: 重构 Resource 类
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1541
|
2022-09-04 00:27:54 +08:00 |
|
zzyyyl
|
414507c0db
|
style: 修复 clang-format 14 导致的部分格式问题
|
2022-08-27 22:41:38 +08:00 |
|
zzyyyl
|
98f949346e
|
style: clang format
|
2022-08-26 19:11:34 +08:00 |
|
MistEO
|
1815c83756
|
style: format
|
2022-08-13 18:05:02 +08:00 |
|
Horror Proton
|
1d2e7e29ed
|
feat: add C++ ranges library alternatives
|
2022-08-07 19:19:07 +08:00 |
|
lhhxxxxx
|
fa67ad35e2
|
style. use same_as && derived_from
|
2022-08-05 01:33:41 +08:00 |
|
zzyyyl
|
7933658629
|
chore: 玛丽说多转一次会影响性能
|
2022-08-02 10:13:43 +08:00 |
|
zzyyyl
|
4bd8bda518
|
style: 统一 requires 格式
|
2022-08-02 00:39:55 +08:00 |
|
zzyyyl
|
4976628c06
|
refactor: 用 concepts 优化 static_assert
|
2022-08-01 23:49:52 +08:00 |
|
lhhxxxxx
|
a579d8b944
|
perf. c++ code tidy
style. typo fixed
|
2022-07-30 18:24:31 +08:00 |
|
lhhxxxxx
|
35b91cd217
|
revert. delete [[nodiscard]]
|
2022-07-30 06:11:56 +08:00 |
|
lhhxxxxx
|
af1c051522
|
perf. c++ code tidy
|
2022-07-30 05:31:19 +08:00 |
|
Horror Proton
|
31b2e54fea
|
fix: remove a C++20 constexpr
|
2022-07-20 18:40:33 +08:00 |
|
MistEO
|
3e85aacdb5
|
refactor: 调整 TaskData::get 接口返回模板类型
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1243
|
2022-07-20 14:42:24 +08:00 |
|
Horror Proton
|
cfda9278a6
|
Improve style and tidiness, simplify nested namespace
|
2022-06-19 23:00:40 +08:00 |
|
MistEO
|
e3b2401ca6
|
refactor.删除实例化的TaskData
|
2022-03-09 23:40:28 +08:00 |
|
MistEO
|
c9663dbc52
|
refactor.完成setparam接口的重构
|
2022-03-06 21:56:24 +08:00 |
|
MistEO
|
8e42d4ede1
|
feat.支持多开
|
2022-03-05 01:23:09 +08:00 |
|
StupidBh
|
f1cfd65beb
|
fix.修复一些warning
|
2021-12-31 22:17:55 +08:00 |
|
MistEO
|
9c20b5da49
|
style.项目、文件名统一化
|
2021-12-15 00:29:17 +08:00 |
|