mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-30 03:16:08 +00:00
91e83271a4
- 增加了根据设置选择切换函数的装饰器 - 增加了ADB截图和点击的设置, 默认使用ADB截图, uiautomator2点击 - 更新了assets.py文件, 上次commit忘记了
19 lines
1.9 KiB
Python
19 lines
1.9 KiB
Python
from module.base.button import Button
|
|
from module.base.template import Template
|
|
|
|
# This file is generated by module.dev_tools.asset_extract.
|
|
# Don't modified it manually.
|
|
|
|
EQUIP_EDIT_ACTIVE = Button(area=(51, 608, 245, 668), color=(191, 159, 109), button=(51, 608, 245, 668), file='./assets/exercise/EQUIP_EDIT_ACTIVE.png')
|
|
EQUIP_EDIT_INACTIVE = Button(area=(51, 608, 246, 667), color=(89, 112, 158), button=(51, 608, 246, 667), file='./assets/exercise/EQUIP_EDIT_INACTIVE.png')
|
|
EQUIP_ENTER = Button(area=(351, 446, 361, 456), color=(252, 251, 252), button=(351, 446, 361, 456), file='./assets/exercise/EQUIP_ENTER.png')
|
|
EXERCISE_PREPARATION = Button(area=(543, 539, 741, 599), color=(235, 186, 114), button=(543, 539, 741, 599), file='./assets/exercise/EXERCISE_PREPARATION.png')
|
|
NEW_OPPONENT = Button(area=(1065, 340, 1204, 382), color=(129, 166, 220), button=(1065, 340, 1204, 382), file='./assets/exercise/NEW_OPPONENT.png')
|
|
OCR_EXERCISE_REMAIN = Button(area=(1148, 145, 1178, 160), color=(105, 148, 107), button=(1148, 145, 1178, 160), file='./assets/exercise/OCR_EXERCISE_REMAIN.png')
|
|
OPPONENT_1 = Button(area=(104, 77, 316, 381), color=(101, 117, 136), button=(104, 77, 316, 381), file='./assets/exercise/OPPONENT_1.png')
|
|
OPPONENT_2 = Button(area=(348, 77, 560, 381), color=(105, 123, 149), button=(348, 77, 560, 381), file='./assets/exercise/OPPONENT_2.png')
|
|
OPPONENT_3 = Button(area=(592, 77, 804, 381), color=(106, 131, 158), button=(592, 77, 804, 381), file='./assets/exercise/OPPONENT_3.png')
|
|
OPPONENT_4 = Button(area=(836, 77, 1048, 381), color=(103, 118, 141), button=(836, 77, 1048, 381), file='./assets/exercise/OPPONENT_4.png')
|
|
QUIT_CONFIRM = Button(area=(420, 490, 593, 548), color=(199, 122, 114), button=(420, 490, 593, 548), file='./assets/exercise/QUIT_CONFIRM.png')
|
|
QUIT_RECONFIRM = Button(area=(703, 492, 877, 550), color=(195, 111, 102), button=(703, 492, 877, 550), file='./assets/exercise/QUIT_RECONFIRM.png')
|