diff --git a/docs/en-us/protocol/task-schema.md b/docs/en-us/protocol/task-schema.md index 93247d6b0e..8a94c1579f 100644 --- a/docs/en-us/protocol/task-schema.md +++ b/docs/en-us/protocol/task-schema.md @@ -87,6 +87,10 @@ Usage of `resource/tasks` and description of each field "specialParams": [ int, ... ], // Parameters needed for some special recognizers // extra, optional when action is Swipe, [0] for duration, [1] for whether to enable extra sliding + "highResolutionSwipeFix": false, // Optional. Whether to enable high-resolution swipe fix. + // Currently, only stage navigation does not use the Unity swipe method, so it needs to be enabled there. + // Default is false + /* The following fields are only valid if the algorithm is MatchTemplate */ "template": "xxx.png", // Optional, the name of the image file to be matched diff --git a/docs/ja-jp/protocol/task-schema.md b/docs/ja-jp/protocol/task-schema.md index eddc3203e4..6052dc252d 100644 --- a/docs/ja-jp/protocol/task-schema.md +++ b/docs/ja-jp/protocol/task-schema.md @@ -91,6 +91,10 @@ JSONファイルはコメントをサポートしていません。テキスト "specialParams": [ int, ... ], // 一部の特殊な認識器に必要なパラメーター // 追加、 action が Swipe の場合はオプション、 [0] が duration 、 [1] が追加のスライドを有効にするかどうか + "highResolutionSwipeFix": false, // オプション項目。高解像度スワイプ修正を有効にするかどうか。 + // 現在のところ、ステージナビゲーションのみが Unity のスワイプ方式を使用していないため、有効化が必要。 + // デフォルトは false + /* 以下のフィールドは、 algorithm が MatchTemplate である場合にのみ有効です */ "template": "xxx.png", // オプション、マッチングされるイメージファイルの名前 diff --git a/docs/ko-kr/protocol/task-schema.md b/docs/ko-kr/protocol/task-schema.md index 2eeb9a84d3..2a426ce784 100644 --- a/docs/ko-kr/protocol/task-schema.md +++ b/docs/ko-kr/protocol/task-schema.md @@ -93,6 +93,10 @@ icon: material-symbols:task "specialParams": [ int, ... ], // 일부 특수 인식기에 필요한 매개변수를 나타냅니다. // 추가 옵션, action이 Swipe인 경우 [0]은 지속 시간, [1]은 추가 슬라이드 여부를 나타냅니다. + "highResolutionSwipeFix": false, // 선택 항목. 고해상도 스와이프 보정을 활성화할지 여부. + // 현재는 스테이지 내비게이션만 Unity 스와이프 방식을 사용하지 않으므로 이 옵션을 켜야 함 + // 기본값은 false + /* 다음 필드들은 algorithm이 MatchTemplate인 경우에만 유효합니다. */ "template": "xxx.png", // 선택 사항, 이미지 매칭에 사용할 이미지 파일의 이름을 나타냅니다. diff --git a/docs/maa_tasks_schema.json b/docs/maa_tasks_schema.json index fc8deba3a1..237c1e13b6 100644 --- a/docs/maa_tasks_schema.json +++ b/docs/maa_tasks_schema.json @@ -116,6 +116,11 @@ "specialParams": { "$ref": "#/definitions/ParamsArray", "description": "某些任务使用的特殊参数(大部分是手写阈值等)" + }, + "highResolutionSwipeFix": { + "type": "boolean", + "default": false, + "description": "可选项,是否启用高分辨率滑动修复,现阶段应该只有关卡导航未使用 unity 滑动方式所以需要开启,默认为 false" } } }, diff --git a/docs/zh-cn/protocol/task-schema.md b/docs/zh-cn/protocol/task-schema.md index 9369df5f3d..73e8c9be8d 100644 --- a/docs/zh-cn/protocol/task-schema.md +++ b/docs/zh-cn/protocol/task-schema.md @@ -91,6 +91,10 @@ icon: material-symbols:task "specialParams": [int, ...], // 某些特殊识别器需要的参数 // 额外的,当 action 为 Swipe 时可选,[0] 表示 duration,[1] 表示 是否启用额外滑动 + "highResolutionSwipeFix": false, // 可选项,是否启用高分辨率滑动修复 + // 现阶段应该只有关卡导航未使用 unity 滑动方式所以需要开启 + // 默认为 false + /* 以下字段仅当 algorithm 为 MatchTemplate 时有效 */ "template": "xxx.png", // 可选项,要匹配的图片文件名,可以是字符串或字符串列表 diff --git a/docs/zh-tw/protocol/task-schema.md b/docs/zh-tw/protocol/task-schema.md index c3158f55d0..5fe2d5878d 100644 --- a/docs/zh-tw/protocol/task-schema.md +++ b/docs/zh-tw/protocol/task-schema.md @@ -91,6 +91,9 @@ icon: material-symbols:task "specialParams": [ int, ... ], // 某些特殊辨識器需要的參數 // 額外的,當 action 為 Swipe 時可選,[0] 表示 duration,[1] 表示 是否啟用額外滑動 + "highResolutionSwipeFix": false, // 可選項,是否啟用高解析度滑動修正,目前應該只有關卡導航未使用 Unity 滑動方式所以需要開啟 + // 預設為 false + /* 以下欄位僅當 algorithm 為 MatchTemplate 時有效 */ "template": "xxx.png", // 可選項,要匹配的圖片檔案名稱