zzyyyl
|
b13dabce31
|
feat: 把 get 和 get_raw 放进 .cpp 而不是 .h 中
|
2022-11-06 01:57:56 +08:00 |
|
zzyyyl
|
314fd3776e
|
perf(TaskData): append_prefix 小优化
|
2022-10-29 16:54:35 +08:00 |
|
zzyyyl
|
211b839bd7
|
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
|
a5f3b3631d
|
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
|
5c538633e0
|
feat: 尝试把 sharp_task 的生成变为预处理,大幅修改 TaskData
|
2022-10-29 16:54:34 +08:00 |
|
MistEO
|
668928c4a3
|
Merge pull request #2412 from MaaAssistantArknights/feat/enum_to_string
feat: 为部分枚举类型增加与字符串类型的互转函数
|
2022-10-24 22:00:51 +08:00 |
|
zzyyyl
|
a6c556df58
|
feat: 重载枚举类型 AlgorithmType, ProcessTaskAction 的 std::to_string(), 并在回调与日志输出时使用 std::to_string()
|
2022-10-24 15:42:05 +08:00 |
|
zzyyyl
|
b67f8520f6
|
feat: 新增字段 baseTask 用来直接继承(模板任务的变体)
refactor: 重构模板任务相关的生成逻辑
|
2022-10-23 22:18:58 +08:00 |
|
zzyyyl
|
98870fb646
|
fix(TaskData): 修复 syntax_check 检查模板类型时无法确定 algorithm 的问题
|
2022-10-21 16:39:16 +08:00 |
|
zzyyyl
|
7893bb6d0a
|
fix(TaskData): 修复一个 with_emplace 的 bug
|
2022-10-21 16:26:38 +08:00 |
|
MistEO
|
fe03c75164
|
fix: 修复debug默认下外服加载错误,修复掉落上传服务器错误
|
2022-10-21 01:08:55 +08:00 |
|
zzyyyl
|
ef8c07e026
|
fix: 修复任务特化时 next 等不带前缀的问题
|
2022-10-15 16:32:48 +08:00 |
|
zzyyyl
|
738b6f928c
|
feat: 增加一些模板任务生成逻辑
除了 template,其余参数若留空则生成时继承模板任务的参数
Co-authored-by: Horror Proton <107091537+horror-proton@users.noreply.github.com>
|
2022-10-15 16:32:40 +08:00 |
|
zzyyyl
|
7c95b49005
|
fix: 修复 reduce_other_times 不能正常工作的问题
perf: 优化回调处理
Co-authored-by: MistEO <mistereo@hotmail.com>
|
2022-10-13 14:30:24 +08:00 |
|
zzyyyl
|
5831a644c4
|
feat(TaskData): static generate_task_info
|
2022-10-07 22:15:52 +08:00 |
|
zzyyyl
|
626b5835f6
|
fix: 修复笔误
|
2022-10-07 21:51:32 +08:00 |
|
zzyyyl
|
bb0817c128
|
feat: 完成之前画的饼
1. base 存在相同前缀则不加前缀
2. tasks 个数超过上限的时候返回临时值
我没测试
|
2022-10-07 20:59:46 +08:00 |
|
zzyyyl
|
422de7036b
|
perf: 按照 reviews 意见修改 TaskData
|
2022-10-07 20:06:54 +08:00 |
|
zzyyyl
|
d9f635fc47
|
style: format
|
2022-10-07 19:57:38 +08:00 |
|
zzyyyl
|
851e03dd4f
|
feat: reduce_other_times 从模板任务生成时也加上前缀
|
2022-10-07 19:57:38 +08:00 |
|
zzyyyl
|
53b898ccdb
|
feat: 增加模板任务逻辑
|
2022-10-07 19:52:25 +08:00 |
|
zzyyyl
|
ceb2cc109d
|
style: format
|
2022-10-02 20:27:09 +08:00 |
|
zzyyyl
|
a7976a2bac
|
fix: 修一些 tasks.json 的 bug
|
2022-10-02 17:39:03 +08:00 |
|
zzyyyl
|
8a41d58f38
|
feat: debug 模式下,tasks.json 加载的时候做一个语法检查
link to 452b186176
|
2022-10-01 23:35:35 +08:00 |
|
zzyyyl
|
0ff6dd4b42
|
refactor: 给头文件加上路径
直接在上一个 commit 里改的话可能会导致 history 消失
|
2022-09-29 23:30:32 +08:00 |
|
MistEO
|
c89ec1722f
|
refactor: 重构 Resource 类
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1541
|
2022-09-04 00:27:54 +08:00 |
|
zzyyyl
|
1fd4b05a09
|
style: 修复 clang-format 14 导致的部分格式问题
|
2022-08-27 22:41:38 +08:00 |
|
zzyyyl
|
2302ad0681
|
style: clang format
|
2022-08-26 19:11:34 +08:00 |
|
MistEO
|
01b05fd85d
|
style: format
|
2022-08-13 18:05:02 +08:00 |
|
Horror Proton
|
ef6b994e66
|
feat: add C++ ranges library alternatives
|
2022-08-07 19:19:07 +08:00 |
|
lhhxxxxx
|
287c0e0955
|
style. use same_as && derived_from
|
2022-08-05 01:33:41 +08:00 |
|
zzyyyl
|
a52244f28f
|
chore: 玛丽说多转一次会影响性能
|
2022-08-02 10:13:43 +08:00 |
|
zzyyyl
|
e118cf5e7a
|
style: 统一 requires 格式
|
2022-08-02 00:39:55 +08:00 |
|
zzyyyl
|
e534369dae
|
refactor: 用 concepts 优化 static_assert
|
2022-08-01 23:49:52 +08:00 |
|
lhhxxxxx
|
f303018fdc
|
perf. c++ code tidy
style. typo fixed
|
2022-07-30 18:24:31 +08:00 |
|
lhhxxxxx
|
5a7d9fc52a
|
revert. delete [[nodiscard]]
|
2022-07-30 06:11:56 +08:00 |
|
lhhxxxxx
|
0c03220220
|
perf. c++ code tidy
|
2022-07-30 05:31:19 +08:00 |
|
Horror Proton
|
bfbcd1a706
|
fix: remove a C++20 constexpr
|
2022-07-20 18:40:33 +08:00 |
|
MistEO
|
08e6b2886b
|
refactor: 调整 TaskData::get 接口返回模板类型
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1243
|
2022-07-20 14:42:24 +08:00 |
|
Horror Proton
|
3f20b71ae4
|
Improve style and tidiness, simplify nested namespace
|
2022-06-19 23:00:40 +08:00 |
|
MistEO
|
c595ce60d4
|
refactor.删除实例化的TaskData
|
2022-03-09 23:40:28 +08:00 |
|
MistEO
|
840b0f9b11
|
refactor.完成setparam接口的重构
|
2022-03-06 21:56:24 +08:00 |
|
MistEO
|
a688a1bc8f
|
feat.支持多开
|
2022-03-05 01:23:09 +08:00 |
|
StupidBh
|
00c8178a41
|
fix.修复一些warning
|
2021-12-31 22:17:55 +08:00 |
|
MistEO
|
716d4e079a
|
style.项目、文件名统一化
|
2021-12-15 00:29:17 +08:00 |
|