mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-12-01 11:42:03 +00:00
405 lines
11 KiB
Python
405 lines
11 KiB
Python
from module.base.button import Button, ButtonWrapper
|
|
|
|
# This file was auto-generated, do not modify it manually. To generate:
|
|
# ``` python -m dev_tools.button_extract ```
|
|
|
|
ASSIGNMENT_CHECK = ButtonWrapper(
|
|
name='ASSIGNMENT_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/ASSIGNMENT_CHECK.png',
|
|
area=(45, 21, 70, 53),
|
|
search=(25, 1, 90, 73),
|
|
color=(162, 145, 112),
|
|
button=(45, 21, 70, 53),
|
|
),
|
|
)
|
|
BACK = ButtonWrapper(
|
|
name='BACK',
|
|
share=Button(
|
|
file='./assets/share/base/page/BACK.png',
|
|
area=(1217, 21, 1248, 51),
|
|
search=(1197, 1, 1268, 71),
|
|
color=(56, 59, 71),
|
|
button=(1217, 21, 1248, 51),
|
|
),
|
|
)
|
|
BATTLE_PASS_CHECK = ButtonWrapper(
|
|
name='BATTLE_PASS_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/BATTLE_PASS_CHECK.png',
|
|
area=(42, 22, 72, 55),
|
|
search=(22, 2, 92, 75),
|
|
color=(159, 142, 108),
|
|
button=(42, 22, 72, 55),
|
|
),
|
|
)
|
|
CAMERA_CHECK = ButtonWrapper(
|
|
name='CAMERA_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/CAMERA_CHECK.png',
|
|
area=(1120, 344, 1160, 375),
|
|
search=(1100, 324, 1180, 395),
|
|
color=(172, 173, 172),
|
|
button=(1120, 344, 1160, 375),
|
|
),
|
|
)
|
|
CHARACTER_CHECK = ButtonWrapper(
|
|
name='CHARACTER_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/CHARACTER_CHECK.png',
|
|
area=(41, 18, 73, 47),
|
|
search=(21, 0, 93, 67),
|
|
color=(172, 153, 119),
|
|
button=(41, 18, 73, 47),
|
|
),
|
|
)
|
|
CLOSE = ButtonWrapper(
|
|
name='CLOSE',
|
|
share=Button(
|
|
file='./assets/share/base/page/CLOSE.png',
|
|
area=(1222, 25, 1252, 55),
|
|
search=(1202, 5, 1272, 75),
|
|
color=(53, 54, 54),
|
|
button=(1222, 25, 1252, 55),
|
|
),
|
|
)
|
|
EVENT_CHECK = ButtonWrapper(
|
|
name='EVENT_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/EVENT_CHECK.png',
|
|
area=(39, 19, 75, 56),
|
|
search=(19, 0, 95, 76),
|
|
color=(133, 125, 103),
|
|
button=(39, 19, 75, 56),
|
|
),
|
|
)
|
|
FORGOTTEN_HALL_CHECK = ButtonWrapper(
|
|
name='FORGOTTEN_HALL_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/FORGOTTEN_HALL_CHECK.png',
|
|
area=(44, 27, 71, 47),
|
|
search=(24, 7, 91, 67),
|
|
color=(91, 87, 90),
|
|
button=(44, 27, 71, 47),
|
|
),
|
|
)
|
|
GACHA_CHECK = ButtonWrapper(
|
|
name='GACHA_CHECK',
|
|
share=[
|
|
Button(
|
|
file='./assets/share/base/page/GACHA_CHECK.png',
|
|
area=(40, 20, 74, 54),
|
|
search=(20, 0, 94, 74),
|
|
color=(157, 139, 112),
|
|
button=(40, 20, 74, 54),
|
|
),
|
|
Button(
|
|
file='./assets/share/base/page/GACHA_CHECK.2.png',
|
|
area=(41, 21, 74, 54),
|
|
search=(21, 1, 94, 74),
|
|
color=(188, 167, 142),
|
|
button=(41, 21, 74, 54),
|
|
),
|
|
],
|
|
)
|
|
GUIDE_CHECK = ButtonWrapper(
|
|
name='GUIDE_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/GUIDE_CHECK.png',
|
|
area=(64, 297, 83, 326),
|
|
search=(44, 277, 103, 346),
|
|
color=(197, 196, 197),
|
|
button=(64, 297, 83, 326),
|
|
),
|
|
)
|
|
GUIDE_CLOSE = ButtonWrapper(
|
|
name='GUIDE_CLOSE',
|
|
share=Button(
|
|
file='./assets/share/base/page/GUIDE_CLOSE.png',
|
|
area=(1215, 21, 1248, 54),
|
|
search=(1195, 1, 1268, 74),
|
|
color=(75, 82, 95),
|
|
button=(1215, 21, 1248, 54),
|
|
),
|
|
)
|
|
ITEM_CHECK = ButtonWrapper(
|
|
name='ITEM_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/ITEM_CHECK.png',
|
|
area=(43, 23, 72, 54),
|
|
search=(23, 3, 92, 74),
|
|
color=(188, 169, 129),
|
|
button=(43, 23, 72, 54),
|
|
),
|
|
)
|
|
MAIN_GOTO_BATTLE_PASS = ButtonWrapper(
|
|
name='MAIN_GOTO_BATTLE_PASS',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_BATTLE_PASS.png',
|
|
area=(860, 36, 889, 56),
|
|
search=(840, 16, 909, 76),
|
|
color=(165, 164, 162),
|
|
button=(860, 36, 889, 56),
|
|
),
|
|
)
|
|
MAIN_GOTO_CHARACTER = ButtonWrapper(
|
|
name='MAIN_GOTO_CHARACTER',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_CHARACTER.png',
|
|
area=(1204, 25, 1234, 51),
|
|
search=(1184, 5, 1254, 71),
|
|
color=(184, 185, 187),
|
|
button=(1204, 25, 1234, 51),
|
|
),
|
|
)
|
|
MAIN_GOTO_EVENT = ButtonWrapper(
|
|
name='MAIN_GOTO_EVENT',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_EVENT.png',
|
|
area=(786, 33, 814, 56),
|
|
search=(766, 13, 834, 76),
|
|
color=(185, 184, 183),
|
|
button=(786, 33, 814, 56),
|
|
),
|
|
)
|
|
MAIN_GOTO_GACHA = ButtonWrapper(
|
|
name='MAIN_GOTO_GACHA',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_GACHA.png',
|
|
area=(929, 38, 957, 59),
|
|
search=(909, 18, 977, 79),
|
|
color=(161, 162, 163),
|
|
button=(929, 38, 957, 59),
|
|
),
|
|
)
|
|
MAIN_GOTO_GUIDE = ButtonWrapper(
|
|
name='MAIN_GOTO_GUIDE',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_GUIDE.png',
|
|
area=(997, 34, 1027, 59),
|
|
search=(977, 14, 1047, 79),
|
|
color=(170, 171, 173),
|
|
button=(997, 34, 1027, 59),
|
|
),
|
|
)
|
|
MAIN_GOTO_ITEM = ButtonWrapper(
|
|
name='MAIN_GOTO_ITEM',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_ITEM.png',
|
|
area=(1064, 35, 1098, 59),
|
|
search=(1044, 15, 1118, 79),
|
|
color=(179, 180, 182),
|
|
button=(1064, 35, 1098, 59),
|
|
),
|
|
)
|
|
MAIN_GOTO_MAP = ButtonWrapper(
|
|
name='MAIN_GOTO_MAP',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_MAP.png',
|
|
area=(70, 78, 166, 174),
|
|
search=(50, 58, 186, 194),
|
|
color=(91, 105, 119),
|
|
button=(70, 78, 166, 174),
|
|
),
|
|
)
|
|
MAIN_GOTO_MENU = ButtonWrapper(
|
|
name='MAIN_GOTO_MENU',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_MENU.png',
|
|
area=(22, 60, 51, 81),
|
|
search=(2, 40, 71, 101),
|
|
color=(176, 177, 179),
|
|
button=(22, 60, 51, 81),
|
|
),
|
|
)
|
|
MAIN_GOTO_MESSAGE = ButtonWrapper(
|
|
name='MAIN_GOTO_MESSAGE',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_MESSAGE.png',
|
|
area=(184, 182, 203, 212),
|
|
search=(164, 162, 223, 232),
|
|
color=(230, 230, 230),
|
|
button=(184, 182, 203, 212),
|
|
),
|
|
)
|
|
MAIN_GOTO_MISSION = ButtonWrapper(
|
|
name='MAIN_GOTO_MISSION',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_MISSION.png',
|
|
area=(21, 199, 51, 221),
|
|
search=(1, 179, 71, 241),
|
|
color=(168, 169, 172),
|
|
button=(21, 199, 51, 221),
|
|
),
|
|
)
|
|
MAIN_GOTO_TEAM = ButtonWrapper(
|
|
name='MAIN_GOTO_TEAM',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_TEAM.png',
|
|
area=(1135, 41, 1166, 58),
|
|
search=(1115, 21, 1186, 78),
|
|
color=(160, 161, 164),
|
|
button=(1135, 41, 1166, 58),
|
|
),
|
|
)
|
|
MAIN_GOTO_TUTORIAL = ButtonWrapper(
|
|
name='MAIN_GOTO_TUTORIAL',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAIN_GOTO_TUTORIAL.png',
|
|
area=(195, 58, 207, 82),
|
|
search=(175, 38, 227, 102),
|
|
color=(127, 131, 139),
|
|
button=(195, 58, 207, 82),
|
|
),
|
|
)
|
|
MAP_CHECK = ButtonWrapper(
|
|
name='MAP_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAP_CHECK.png',
|
|
area=(46, 19, 68, 54),
|
|
search=(26, 0, 88, 74),
|
|
color=(75, 75, 75),
|
|
button=(46, 19, 68, 54),
|
|
),
|
|
)
|
|
MAP_EXIT = ButtonWrapper(
|
|
name='MAP_EXIT',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAP_EXIT.png',
|
|
area=(27, 46, 44, 74),
|
|
search=(7, 26, 64, 94),
|
|
color=(142, 144, 148),
|
|
button=(27, 46, 44, 74),
|
|
),
|
|
)
|
|
MAP_GOTO_WORLD = ButtonWrapper(
|
|
name='MAP_GOTO_WORLD',
|
|
share=Button(
|
|
file='./assets/share/base/page/MAP_GOTO_WORLD.png',
|
|
area=(896, 80, 1225, 116),
|
|
search=(876, 60, 1245, 136),
|
|
color=(132, 132, 132),
|
|
button=(896, 80, 1225, 116),
|
|
),
|
|
)
|
|
MENU_CHECK = ButtonWrapper(
|
|
name='MENU_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/MENU_CHECK.png',
|
|
area=(1222, 638, 1252, 669),
|
|
search=(1202, 618, 1272, 689),
|
|
color=(57, 50, 39),
|
|
button=(1222, 638, 1252, 669),
|
|
),
|
|
)
|
|
MENU_GOTO_ASSIGNMENT = ButtonWrapper(
|
|
name='MENU_GOTO_ASSIGNMENT',
|
|
share=Button(
|
|
file='./assets/share/base/page/MENU_GOTO_ASSIGNMENT.png',
|
|
area=(1090, 269, 1153, 328),
|
|
search=(1070, 249, 1173, 348),
|
|
color=(71, 71, 74),
|
|
button=(1090, 269, 1153, 328),
|
|
),
|
|
)
|
|
MENU_GOTO_CAMERA = ButtonWrapper(
|
|
name='MENU_GOTO_CAMERA',
|
|
share=Button(
|
|
file='./assets/share/base/page/MENU_GOTO_CAMERA.png',
|
|
area=(1219, 465, 1255, 495),
|
|
search=(1199, 445, 1275, 515),
|
|
color=(51, 52, 53),
|
|
button=(1219, 465, 1255, 495),
|
|
),
|
|
)
|
|
MENU_GOTO_SYNTHESIZE = ButtonWrapper(
|
|
name='MENU_GOTO_SYNTHESIZE',
|
|
share=Button(
|
|
file='./assets/share/base/page/MENU_GOTO_SYNTHESIZE.png',
|
|
area=(994, 389, 1035, 424),
|
|
search=(974, 369, 1055, 444),
|
|
color=(85, 85, 85),
|
|
button=(994, 389, 1035, 424),
|
|
),
|
|
)
|
|
MENU_SCROLL = ButtonWrapper(
|
|
name='MENU_SCROLL',
|
|
share=Button(
|
|
file='./assets/share/base/page/MENU_SCROLL.png',
|
|
area=(1178, 261, 1184, 681),
|
|
search=(1158, 241, 1204, 701),
|
|
color=(100, 100, 105),
|
|
button=(1178, 261, 1184, 681),
|
|
),
|
|
)
|
|
MESSAGE_CLOSE = ButtonWrapper(
|
|
name='MESSAGE_CLOSE',
|
|
share=Button(
|
|
file='./assets/share/base/page/MESSAGE_CLOSE.png',
|
|
area=(863, 95, 895, 127),
|
|
search=(843, 75, 915, 147),
|
|
color=(175, 174, 175),
|
|
button=(863, 95, 895, 127),
|
|
),
|
|
)
|
|
MISSION_CHECK = ButtonWrapper(
|
|
name='MISSION_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/MISSION_CHECK.png',
|
|
area=(44, 33, 70, 55),
|
|
search=(24, 13, 90, 75),
|
|
color=(194, 177, 139),
|
|
button=(44, 33, 70, 55),
|
|
),
|
|
)
|
|
ROGUE_CHECK = ButtonWrapper(
|
|
name='ROGUE_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/ROGUE_CHECK.png',
|
|
area=(40, 19, 73, 49),
|
|
search=(20, 0, 93, 69),
|
|
color=(104, 96, 90),
|
|
button=(40, 19, 73, 49),
|
|
),
|
|
)
|
|
SYNTHESIZE_CHECK = ButtonWrapper(
|
|
name='SYNTHESIZE_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/SYNTHESIZE_CHECK.png',
|
|
area=(39, 23, 75, 52),
|
|
search=(19, 3, 95, 72),
|
|
color=(109, 101, 89),
|
|
button=(39, 23, 75, 52),
|
|
),
|
|
)
|
|
TEAM_CHECK = ButtonWrapper(
|
|
name='TEAM_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/TEAM_CHECK.png',
|
|
area=(41, 34, 73, 54),
|
|
search=(21, 14, 93, 74),
|
|
color=(138, 123, 101),
|
|
button=(41, 34, 73, 54),
|
|
),
|
|
)
|
|
TUTORIAL_CHECK = ButtonWrapper(
|
|
name='TUTORIAL_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/TUTORIAL_CHECK.png',
|
|
area=(44, 30, 70, 56),
|
|
search=(24, 10, 90, 76),
|
|
color=(141, 126, 99),
|
|
button=(44, 30, 70, 56),
|
|
),
|
|
)
|
|
WORLD_CHECK = ButtonWrapper(
|
|
name='WORLD_CHECK',
|
|
share=Button(
|
|
file='./assets/share/base/page/WORLD_CHECK.png',
|
|
area=(46, 19, 68, 54),
|
|
search=(26, 0, 88, 74),
|
|
color=(110, 102, 87),
|
|
button=(46, 19, 68, 54),
|
|
),
|
|
)
|