MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / parse_app_info

Method parse_app_info

source/MaaFramework/Resource/PipelineParser.cpp:1416–1424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1414}
1415
1416bool PipelineParser::parse_app_info(const json::value& input, Action::AppParam& output, const Action::AppParam& default_value)
1417{
1418 if (!get_and_check_value(input, "package", output.package, default_value.package)) {
1419 LogError << "failed to get_and_check_value activity" << VAR(input);
1420 return false;
1421 }
1422
1423 return true;
1424}
1425
1426bool PipelineParser::parse_scroll(const json::value& input, Action::ScrollParam& output, const Action::ScrollParam& default_value)
1427{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected