mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +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:
@@ -102,7 +102,7 @@ bool asst::PlayToolsController::start_game(const std::string& client_type [[mayb
|
||||
return true;
|
||||
}
|
||||
|
||||
bool asst::PlayToolsController::stop_game()
|
||||
bool asst::PlayToolsController::stop_game(const std::string& client_type [[maybe_unused]])
|
||||
{
|
||||
try {
|
||||
constexpr char request[6] = { 0, 4, 'T', 'E', 'R', 'M' };
|
||||
@@ -145,7 +145,7 @@ bool asst::PlayToolsController::swipe(
|
||||
}
|
||||
|
||||
Log.trace("PlayTools swipe", p1, p2, duration, extra_swipe, slope_in, slope_out);
|
||||
|
||||
|
||||
toucher_down(p1);
|
||||
|
||||
auto cubic_spline = [](double slope_0, double slope_1, double t) {
|
||||
|
||||
Reference in New Issue
Block a user