mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-17 10:00:44 +08:00
Update 集成文档.md
This commit is contained in:
@@ -39,7 +39,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
|
||||
{
|
||||
"client_type": string, // 客户端版本,可选,默认为空
|
||||
// 选项:"Official" | "Bilibili"
|
||||
"start_game_enable": bool, // 是否自动启动客户端,可选,默认不启动
|
||||
"start_game_enable": bool // 是否自动启动客户端,可选,默认不启动
|
||||
}
|
||||
```
|
||||
|
||||
@@ -86,6 +86,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
|
||||
"expedite": bool, // 是否使用加急许可,可选,默认 false
|
||||
"expedite_times": int, // 加急次数,仅在 expedite 为 true 时有效。
|
||||
// 可选,默认无限使用(直到 times 达到上限)
|
||||
"skip_robot": bool // 是否在识别到小车词条时跳过,可选,默认跳过
|
||||
}
|
||||
```
|
||||
|
||||
@@ -102,7 +103,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
|
||||
"drones": string, // 无人机用途,可选项,默认 _NotUse
|
||||
// "_NotUse"、"Money"、"SyntheticJade"、"CombatRecord"、"PureGold"、"OriginStone"、"Chip"
|
||||
"threshold": float, // 宿舍进驻心情阈值,可选,取值范围 [0, 1.0],默认 0.3
|
||||
"replenish": bool, // 贸易站“源石碎片”是否自动补货,可选,默认 false
|
||||
"replenish": bool // 贸易站“源石碎片”是否自动补货,可选,默认 false
|
||||
}
|
||||
```
|
||||
|
||||
@@ -120,6 +121,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
|
||||
"shopping": bool, // 是否购物,可选,默认 false。不支持运行中设置
|
||||
"buy_first": [ // 优先购买列表,可选。不支持运行中设置
|
||||
string, // 商品名,如 "招聘许可"、"龙门币" 等
|
||||
...
|
||||
],
|
||||
"blacklist": [ // 黑名单列表,可选。不支持运行中设置
|
||||
string, // 商品名,如 "加急许可"、"家具零件" 等
|
||||
@@ -137,7 +139,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"mode": int, // 模式,可选项。默认 0
|
||||
"mode": int // 模式,可选项。默认 0
|
||||
// 0 - 尽可能一直往后打
|
||||
// 1 - 第一层投资完源石锭就退出
|
||||
// 2 - 投资过后再退出,没有投资就继续往后打
|
||||
|
||||
Reference in New Issue
Block a user