mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-20 10:57:45 +08:00
refactor: StopGame (#9658)
* perf: StopGame * style: rename Intent to packageName * chore: 不准不选择区服 * fix: 移除其他配置中的抽象 stop 匹配 * style: 统一驼峰 * style: 按照执行顺序重新排序 * feat: 添加回调和文档 * fix: 修复参数传入 * docs: 更新文档 * fix: merge * chore: 把WSA的配置也改了 * chore: update submodule --------- Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com> Co-authored-by: Loong <wangl.cc@outlook.com>
This commit is contained in:
@@ -74,8 +74,8 @@ bool asst::GeneralConfig::parse(const json::value& json)
|
||||
m_options.debug.max_debug_file_num = options_json.get("debug", "maxDebugFileNum", 1000);
|
||||
}
|
||||
|
||||
for (const auto& [client_type, intent_name] : json.at("intent").as_object()) {
|
||||
m_intent_name[client_type] = intent_name.as_string();
|
||||
for (const auto& [client_type, package_name] : json.at("packageName").as_object()) {
|
||||
m_package_name[client_type] = package_name.as_string();
|
||||
}
|
||||
|
||||
for (const auto& cfg_json : json.at("connection").as_array()) {
|
||||
|
||||
Reference in New Issue
Block a user