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:
Rbqwow
2024-08-11 01:50:30 +08:00
committed by GitHub
parent 7e8029448d
commit 67c10f1982
23 changed files with 141 additions and 77 deletions

View File

@@ -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()) {