mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-11 23:18:22 +08:00
Add: Emulator auto detect and restart(experimental)
This commit is contained in:
@@ -5,6 +5,7 @@ from module.base.timer import Timer
|
||||
from module.config.utils import get_server_next_update
|
||||
from module.device.app_control import AppControl
|
||||
from module.device.control import Control
|
||||
from module.device.emulator import EmulatorManager
|
||||
from module.device.screenshot import Screenshot
|
||||
from module.exception import (GameStuckError, GameTooManyClickError,
|
||||
GameNotRunningError, RequestHumanTakeover)
|
||||
@@ -12,7 +13,7 @@ from module.handler.assets import GET_MISSION
|
||||
from module.logger import logger
|
||||
|
||||
|
||||
class Device(Screenshot, Control, AppControl):
|
||||
class Device(Screenshot, Control, AppControl, EmulatorManager):
|
||||
_screen_size_checked = False
|
||||
detect_record = set()
|
||||
click_record = deque(maxlen=15)
|
||||
|
||||
Reference in New Issue
Block a user