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

Method get_cached_image

source/binding/NodeJS/src/apis/controller.cpp:290–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290std::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
299std::optional<std::string> ControllerImpl::get_uuid()
300{

Callers

nothing calls this directly

Calls 2

MaaControllerCachedImageFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected