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

Method get_node_data_parsed

source/binding/NodeJS/src/apis/context.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171std::optional<maajs::ValueType> ContextImpl::get_node_data_parsed(std::string node_name)
172{
173 auto json = get_node_data(node_name);
174 if (!json) {
175 return std::nullopt;
176 }
177 return maajs::JsonParse(env, *json);
178}
179
180MaaTaskId ContextImpl::get_task_id()
181{

Callers

nothing calls this directly

Calls 1

JsonParseFunction · 0.85

Tested by

no test coverage detected