chore.更新 C、Python 集成示例

This commit is contained in:
MistEO
2022-03-12 23:41:30 +08:00
parent 328daa7e03
commit 59637500e0
6 changed files with 311 additions and 348 deletions

View File

@@ -30,9 +30,44 @@ int main(int argc, char** argv)
return -1;
}
/* 详细参数可参考 docs / 集成文档.md */
AsstAppendTask(ptr, "StartUp", R"({})");
AsstAppendTask(ptr, "Fight", R"({"stage": "CE-5"})");
AsstAppendTask(ptr, "Recruit", R"({"select":[4],"confirm":[3,4],"times":4)");
AsstAppendTask(ptr, "Fight", R"(
{
"stage": "CE-5"
}
)");
AsstAppendTask(ptr, "Recruit", R"(
{
"select":[4],
"confirm":[3,4],
"times":4
}
)");
AsstAppendTask(ptr, "Infrast", R"(
{
"facility": ["Mfg", "Trade", "Power", "Control", "Reception", "Office", "Dorm"],
"drones": "Money"
}
)");
AsstAppendTask(ptr, "Visit", R"({})");
AsstAppendTask(ptr, "Mall", R"(
{
"shopping": true,
"is_black_list": false,
"shopping_list": [
"家具",
""
]
}
)");
AsstAppendTask(ptr, "Award", R"({})");
AsstStart(ptr);