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

Method parse_input_text

source/MaaFramework/Resource/PipelineParser.cpp:1406–1414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1404}
1405
1406bool PipelineParser::parse_input_text(const json::value& input, Action::InputTextParam& output, const Action::InputTextParam& default_value)
1407{
1408 if (!get_and_check_value(input, "input_text", output.text, default_value.text)) {
1409 LogError << "failed to get_and_check_value text" << VAR(input);
1410 return false;
1411 }
1412
1413 return true;
1414}
1415
1416bool PipelineParser::parse_app_info(const json::value& input, Action::AppParam& output, const Action::AppParam& default_value)
1417{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected