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

Method get_node_data

source/MaaFramework/Resource/ResourceMgr.cpp:275–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275std::optional<json::object> ResourceMgr::get_node_data(const std::string& node_name) const
276{
277 const auto& pp_map = pipeline_res_.get_pipeline_data_map();
278 auto it = pp_map.find(node_name);
279 if (it == pp_map.end()) {
280 return std::nullopt;
281 }
282
283 return PipelineDumper::dump(it->second);
284}
285
286void ResourceMgr::register_custom_recognition(const std::string& name, MaaCustomRecognitionCallback recognition, void* trans_arg)
287{

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected