feat(docs): 文档大升级 (#5885)

+ 迁移到[vuepress-hope](https://theme-hope.vuejs.press/zh/)主题
该主题有很多好用的特性,包括但不限于mermaid流程图,charts/echarts图表,更美观的提示卡片等
  + 优化的侧边栏和导航栏
  + 内置图标支持
  + 使用卡片来优化阅读体验
+ 修复了jsonc和cpp的高亮问题
This commit is contained in:
Sherkey
2023-08-10 09:53:28 +08:00
committed by GitHub
parent edb7224594
commit 902bcc4a6e
69 changed files with 13690 additions and 3325 deletions

View File

@@ -20,7 +20,7 @@
3. 最初にMAAを**閉じ**、**次に** `gui.json` を開き、新しいフィールド `Bluestacks.Config.Path` を追加し、`bluestacks.conf` のフルパスを入力してください(スラッシュの `\\` をエスケープしてください)。
例:(`C:\ProgramData\BlueStacks_nxt\bluestacks.conf` を例にとります)
```jsonc
```json
{
"Configurations": {
"Default": {
@@ -37,7 +37,7 @@
上記の手順に従って、`Bluestacks.Config.Keyword` フィールドを追加します<br>
例:
```jsonc
```json
"Bluestacks.Config.Keyword":"bst.instance.Nougat64.status.adb_port",
```

View File

@@ -8,7 +8,7 @@
#### Prototype
```c++
```cpp
TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* params);
```
@@ -36,7 +36,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `StartUp`<br>
Start-up
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool, // このタスクを有効にするかどうか、オプション、デフォルトは true
@@ -49,7 +49,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Fight`<br>
Operation
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool, // このタスクを有効にするかどうか、オプション、デフォルトは true
@@ -81,7 +81,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Recruit`<br>
公開求人
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool, // このタスクを有効にするかどうか, オプション, デフォルトは true
@@ -115,7 +115,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Infrast`<br>
基地シフト
```jsonc
```json
{
"enable": bool, // タスクを有効にするかどうか, オプション, デフォルトは true
"mode": int, // シフトモード, 予約, オプション. 動作中に変更はできません.
@@ -134,7 +134,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
FPの回収と自動購入
`buy_first` にあるリストリストに従った順序でアイテムを購入した後, `blacklist` の内容を無視して左から右の順番で購入します.
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool, // このタスクを有効にするかどうか, オプション, デフォルトは true
@@ -153,7 +153,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Award`<br>
報酬の受け取り.<br>
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool // このタスクを有効にするかどうか, オプション, デフォルトは true
@@ -163,7 +163,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Roguelike`<br>
統合戦略
```jsonc
```json
{
"enable": bool, // このタスクを有効にするかどうか, オプション, デフォルトは true
"theme": string, // テーマの名前, オプション, デフォルトは "Phantom"
@@ -190,7 +190,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Copilot`<br>
自動戦闘 開発中機能
```jsonc
```json
{
"enable": bool, // このタスクを有効にするかどうか, オプション, デフォルトは true
"filename": string, // タスクのJSONのファイル名とパス, 絶対/相対 パスのサポート. 動作中に変更はできません.
@@ -203,7 +203,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `Depot`
倉庫アイテム認識
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool // このタスクを有効にするかどうか, オプション, デフォルトは true
@@ -213,7 +213,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `OperBox`<br>
カドレー識別
```jsonc
```json
// 対応するタスクのパラメータ
{
"enable": bool // このタスクを有効にするかどうか, オプション, デフォルトは true
@@ -223,7 +223,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
- `ReclamationAlgorithm`<br>
ReclamationAlgorithm
```jsonc
```json
{
"enable": bool,
"mode": int // モード、オプション、デフォルトは 0
@@ -236,7 +236,7 @@ TaskId ASSTAPI AsstAppendTask(AsstHandle handle, const char* type, const char* p
#### Prototype
```c++
```cpp
bool ASSTAPI AsstSetTaskParams(AsstHandle handle, TaskId id, const char* params);
```
@@ -263,7 +263,7 @@ Set task parameters
#### Prototype
```c++
```cpp
bool ASSTAPI AsstSetStaticOption(AsstStaticOptionKey key, const char* value);
```
@@ -291,7 +291,7 @@ None
#### Prototype
```c++
```cpp
bool ASSTAPI AsstSetInstanceOption(AsstHandle handle, AsstInstanceOptionKey key, const char* value);
```
@@ -315,7 +315,7 @@ Set instance-level parameters
##### List of Key and value
```jsonc
```json
enum InstanceOptionKey
{
Invalid = 0,

View File

@@ -4,7 +4,7 @@
## Prototype
```c++
```cpp
typedef void(ASST_CALL* AsstCallback)(int msg, const char* details, void* custom_arg);
```
@@ -13,7 +13,7 @@ typedef void(ASST_CALL* AsstCallback)(int msg, const char* details, void* custom
- `int msg`<br>
The message type
```c++
```cpp
enum class AsstMsg
{
/* Global Info */
@@ -49,7 +49,7 @@ Todo
### InitFailed
```jsonc
```json
{
"what": string, // Error タイプ
"why": string, // Error 理由
@@ -59,7 +59,7 @@ Todo
### ConnectionInfo
```jsonc
```json
{
"what": string, // Info タイプ
"why": string, // Info 理由
@@ -97,7 +97,7 @@ Todo
### AllTasksCompleted
```jsonc
```json
{
"taskchain": string, // 最後の一連のタスク
"uuid": string, // UUID
@@ -131,7 +131,7 @@ Todo
### Information Related to TaskChain
```jsonc
```json
{
"taskchain": string, // 現在の一連タスク
"taskid": int, // 現在のタスク ID
@@ -145,7 +145,7 @@ Todo
### Information Related to SubTask
```jsonc
```json
{
"subtask": string, // サブタスク名
"class": string, // サブタスククラス
@@ -160,7 +160,7 @@ Todo
- `ProcessTask`<br>
```jsonc
```json
// 対応する詳細フィールドの例
{
"task": "StartButton2", // タスク名
@@ -223,7 +223,7 @@ Todo
### SubTaskExtraInfo
```jsonc
```json
{
"taskchain": string, // 一連のタスク
"class": string, // サブタスクのクラス
@@ -238,7 +238,7 @@ Todo
- `StageDrops`<br>
ステージドロップインフォメーション
```jsonc
```json
// 対応する詳細フィールドの例
{
"drops": [ // dropped items
@@ -286,7 +286,7 @@ Todo
- `RecruitTagsDetected`<br>
採用タグの検出
```jsonc
```json
// 対応するフィールドの詳細
{
"tags": [
@@ -302,7 +302,7 @@ Todo
- `RecruitSpecialTag`<br>
特別な採用タグの検出
```jsonc
```json
// 対応する詳細フィールドの例
{
"tag": "上級エリート"
@@ -312,7 +312,7 @@ Todo
- `RecruitResult`<br>
公開求人結果
```jsonc
```json
// 対応する詳細フィールドの例
{
"tags": [ // 全てのタグ, 5つまで
@@ -389,7 +389,7 @@ Todo
- `RecruitTagsRefreshed`<br>
公開求人タグの更新
```jsonc
```json
// 対応する詳細フィールドの例
{
"count": 1, // スロットが更新された回数
@@ -400,7 +400,7 @@ Todo
- `RecruitTagsSelected`<br>
公開求人タグの選択
```jsonc
```json
// 対応する詳細フィールドの例
{
"tags": [
@@ -419,7 +419,7 @@ Todo
- `EnterFacility`<br>
施設へ入る
```jsonc
```json
// 対応する詳細フィールドの例
{
"facility": "Mfg", // 施設名
@@ -430,7 +430,7 @@ Todo
- `NotEnoughStaff`<br>
オペレーター不足
```jsonc
```json
// 対応する詳細フィールドの例
{
"facility": "Mfg", // 施設名
@@ -441,7 +441,7 @@ Todo
- `ProductOfFacility`<br>
施設の生産
```jsonc
```json
// 対応する詳細フィールドの例
{
"product": "Money", // 生産物
@@ -453,7 +453,7 @@ Todo
- `StageInfo`<br>
自動戦闘ステージの情報
```jsonc
```json
// 対応する詳細フィールドの例
{
"name": string // 施設名
@@ -466,7 +466,7 @@ Todo
- `PenguinId`<br>
Penguin ID
```jsonc
```json
// 対応する詳細フィールドの例
{
"id": string
@@ -476,7 +476,7 @@ Todo
- `DepotInfo`<br>
倉庫のアイテムの認識結果
```jsonc
```json
// 対応する詳細フィールドの例
"done": bool, // 認識が完了したかどうかfalse はまだ進行中かどうか(処理中のデータ)
"arkplanner": { // https://penguin-stats.cn/planner
@@ -516,7 +516,7 @@ Todo
- `OperBoxInfo`<br>
Recognition result of operator box
```jsonc
```json
// 対応する詳細フィールドの例
"done": bool, // 認識が完了したかどうかfalse はまだ進行中かどうか(処理中のデータ)
"all_oper": [

View File

@@ -4,7 +4,7 @@
## Overview
```jsonc
```json
{
"stage_name": "暴君", // ステージ名, 必須. CN版のステージ名, コード, ステージID, レベルID, 他. これらは全てサポート範囲です.
"opers": [ // オペーレーターリスト

View File

@@ -4,7 +4,7 @@ Usage of `resource/tasks.json` and description of each field
## Overview
```jsonc
```json
{
"TaskName" : { // Task name
@@ -128,7 +128,7 @@ Allows a task "A" to be used as a template, and then "B@A" to represent the task
- If task "B@A" is not explicitly defined in `tasks.json`, then add `B@` prefix to the `sub`, `next`, `onErrorNext`, `exceededNext`, `reduceOtherTimes` fields (or `B` if the task name starts with `#`) and the rest of the parameters are the same as for task "A". That is, if task "A" has the following parameters.
```jsonc
```json
"A": {
"template": "A.png",
...,
@@ -138,7 +138,7 @@ Allows a task "A" to be used as a template, and then "B@A" to represent the task
is equivalent to defining both
```jsonc
```json
"B@A": {
"template": "A.png",
...,

View File

@@ -4,7 +4,7 @@
## 概要
```jsonc
```json
[
{
"stage_name": "驯兽小屋", // ステージ名, 必須CN版準拠での入力

View File

@@ -6,7 +6,7 @@
## 完整字段一览
```jsonc
```json
{
"title": "サブ垢スケジュール", // タイトル,オプション
"description": "イロハニホヘト", // 説明,オプション

View File

@@ -4,7 +4,7 @@ This document is machine-translated. If you have the ability, please refer to th
**Note: As JSON format does not support comments, please remove the comments when using the examples below.**
```jsonc
```json
{
"type": "SSS", // Protocol type, SSS means a stationed preservation, required, unchangeable
"stage_name": "Duos Lore building site", // The name of the preservation location, required