mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 02:23:01 +08:00
perf: auto start optimization + MAC fix (#9083)
I have no way to test for MAC
This commit is contained in:
@@ -49,6 +49,10 @@ size_t asst::Controller::get_version() const noexcept
|
||||
return m_controller->get_version();
|
||||
}
|
||||
|
||||
asst::ControllerType asst::Controller::get_controller_type() const noexcept
|
||||
{
|
||||
return m_controller_type;
|
||||
}
|
||||
|
||||
std::pair<int, int> asst::Controller::get_scale_size() const noexcept
|
||||
{
|
||||
|
||||
@@ -52,6 +52,8 @@ public:
|
||||
|
||||
size_t get_version() const noexcept;
|
||||
|
||||
ControllerType get_controller_type() const noexcept;
|
||||
|
||||
cv::Mat get_image(bool raw = false);
|
||||
cv::Mat get_image_cache() const;
|
||||
bool screencap(bool allow_reconnect = false);
|
||||
|
||||
Reference in New Issue
Block a user