1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 02:48:23 +08:00

Refactor: module/device, separate all screenshot method and control methods

- Better screenshot and control retries, handle common exceptions
This commit is contained in:
LmeSzinc
2022-01-21 22:50:02 +08:00
parent f4d798e3d7
commit 8374174d55
22 changed files with 1056 additions and 493 deletions

View File

@@ -240,7 +240,7 @@ class LoginHandler(Combat):
return False
def get_cn_xp_hierarchy(self) -> tuple:
d = self.device.device
d = self.device.u2
xp = XPath(d)
hierarchy = d.dump_hierarchy()
return xp, hierarchy