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

Method cached_image

source/MaaAgentServer/RemoteInstance/RemoteController.cpp:363–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361}
362
363cv::Mat RemoteController::cached_image() const
364{
365 ControllerCachedImageReverseRequest req {
366 .controller_id = controller_id_,
367 };
368 auto resp_opt = server_.send_and_recv<ControllerCachedImageReverseResponse>(req);
369 if (!resp_opt) {
370 return { };
371 }
372 return server_.get_image_cache(resp_opt->image);
373}
374
375std::string RemoteController::cached_shell_output() const
376{

Callers 1

Calls 1

get_image_cacheMethod · 0.80

Tested by

no test coverage detected