mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
@@ -61,6 +61,7 @@ Todo
|
||||
"why": string, // 错误原因
|
||||
"details": object, // 错误详情
|
||||
"uuid": string // 设备唯一码
|
||||
"address": string // 设备连接地址
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -758,7 +758,8 @@ bool asst::Controller::connect(const std::string & adb_path, const std::string &
|
||||
{"what", "UuidGetted"},
|
||||
{"why", ""},
|
||||
{"details", json::object {
|
||||
{ "uuid", m_uuid}
|
||||
{ "uuid", m_uuid},
|
||||
{"address",address},
|
||||
}}
|
||||
};
|
||||
m_callback(AsstMsg::ConnectionInfo, info, m_callback_arg);
|
||||
@@ -797,4 +798,4 @@ std::vector<uchar> asst::Controller::get_image_encode() const
|
||||
cv::imencode(".png", img, buf);
|
||||
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user