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

Method connected

source/MaaWin32ControlUnit/Manager/Win32ControlUnitMgr.cpp:209–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209bool Win32ControlUnitMgr::connected() const
210{
211 // 除了检查连接标志,还需要检查窗口是否仍然有效
212 if (!connected_) {
213 return false;
214 }
215
216 if (hwnd_ && !IsWindow(hwnd_)) {
217 return false;
218 }
219
220 return true;
221}
222
223bool Win32ControlUnitMgr::request_uuid(std::string& uuid)
224{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected