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

Method init_draw

source/MaaFramework/Vision/VisionBase.cpp:69–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69void VisionBase::init_draw()
70{
71#ifdef MAA_DEBUG
72 debug_draw_ = true;
73#else
74 const auto& option = MAA_GLOBAL_NS::OptionMgr::get_instance();
75 debug_draw_ = option.save_draw() || option.debug_mode();
76#endif
77}
78
79void VisionBase::save_draws(const std::string& name, const std::vector<ImageEncodedBuffer>& draws)
80{

Callers

nothing calls this directly

Calls 1

debug_modeMethod · 0.45

Tested by

no test coverage detected