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

Method latest_node

source/binding/NodeJS/src/apis/tasker.cpp:375–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375std::optional<MaaNodeId> TaskerImpl::latest_node(std::string node_name)
376{
377 MaaNodeId id;
378 if (MaaTaskerGetLatestNode(tasker, node_name.c_str(), &id)) {
379 return id;
380 }
381 else {
382 return std::nullopt;
383 }
384}
385
386std::string TaskerImpl::to_string()
387{

Callers 1

myRecoFunction · 0.80

Calls 1

MaaTaskerGetLatestNodeFunction · 0.85

Tested by

no test coverage detected