| 258 | } |
| 259 | |
| 260 | std::optional<std::string> ResourceImpl::get_node_data(std::string node_name) |
| 261 | { |
| 262 | StringBuffer buffer; |
| 263 | if (!MaaResourceGetNodeData(resource, node_name.c_str(), buffer)) { |
| 264 | return std::nullopt; |
| 265 | } |
| 266 | return buffer.str(); |
| 267 | } |
| 268 | |
| 269 | std::optional<maajs::ValueType> ResourceImpl::get_node_data_parsed(std::string node_name) |
| 270 | { |
nothing calls this directly
no test coverage detected