| 325 | } |
| 326 | |
| 327 | std::optional<std::vector<std::string>> ResourceImpl::get_node_list() |
| 328 | { |
| 329 | StringListBuffer buffer; |
| 330 | if (!MaaResourceGetNodeList(resource, buffer)) { |
| 331 | return std::nullopt; |
| 332 | } |
| 333 | |
| 334 | return buffer.as_vector([](StringBufferRefer buf) { return buf.str(); }); |
| 335 | } |
| 336 | |
| 337 | std::optional<std::vector<std::string>> ResourceImpl::get_custom_recognition_list() |
| 338 | { |
no test coverage detected