| 288 | } |
| 289 | |
| 290 | std::optional<maajs::ArrayBufferType> ControllerImpl::get_cached_image() |
| 291 | { |
| 292 | ImageBuffer buf; |
| 293 | if (!MaaControllerCachedImage(controller, buf)) { |
| 294 | return std::nullopt; |
| 295 | } |
| 296 | return buf.data(env); |
| 297 | } |
| 298 | |
| 299 | std::optional<std::string> ControllerImpl::get_uuid() |
| 300 | { |
nothing calls this directly
no test coverage detected