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

Method inactive

source/MaaCustomControlUnit/Manager/CustomControlUnitMgr.cpp:254–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254bool CustomControlUnitMgr::inactive()
255{
256 if (!controller_ || !controller_->inactive) {
257 LogTrace << "inactive callback not provided, returning true";
258 return true;
259 }
260
261 LogFunc << VAR_VOIDP(controller_) << VAR_VOIDP(controller_->inactive);
262 return controller_->inactive(controller_arg_);
263}
264
265json::object CustomControlUnitMgr::get_info() const
266{

Callers

nothing calls this directly

Calls 1

inactiveMethod · 0.65

Tested by

no test coverage detected