| 373 | } |
| 374 | |
| 375 | std::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 | |
| 386 | std::string TaskerImpl::to_string() |
| 387 | { |
no test coverage detected