StarRailCopilot/tasks/battle_pass/assets/assets_battle_pass.py
Hengyu 28d5c43602
Add: battle pass recognition (#49)
* Add: battle pass mission recognition

* Fix: typo

* Add: version mission recognition

* Fix: typo

* Upd: remove version mission

* Upd: keep ui of version quest
2023-08-02 19:07:46 +08:00

166 lines
4.7 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 ```
CLOSE_CHOOSE_GIFT = ButtonWrapper(
name='CLOSE_CHOOSE_GIFT',
share=Button(
file='./assets/share/battle_pass/CLOSE_CHOOSE_GIFT.png',
area=(387, 634, 412, 658),
search=(367, 614, 432, 678),
color=(104, 99, 86),
button=(387, 634, 412, 658),
),
)
EXP_CLAIM_ALL = ButtonWrapper(
name='EXP_CLAIM_ALL',
share=Button(
file='./assets/share/battle_pass/EXP_CLAIM_ALL.png',
area=(1016, 664, 1036, 686),
search=(996, 644, 1056, 706),
color=(118, 98, 58),
button=(1016, 664, 1036, 686),
),
)
MISSIONS_CHECK = ButtonWrapper(
name='MISSIONS_CHECK',
share=Button(
file='./assets/share/battle_pass/MISSIONS_CHECK.png',
area=(44, 210, 74, 230),
search=(24, 190, 94, 250),
color=(68, 69, 68),
button=(44, 210, 74, 230),
),
)
MISSIONS_CLICK = ButtonWrapper(
name='MISSIONS_CLICK',
share=Button(
file='./assets/share/battle_pass/MISSIONS_CLICK.png',
area=(44, 211, 74, 230),
search=(24, 191, 94, 250),
color=(145, 143, 139),
button=(44, 211, 74, 230),
),
)
MISSIONS_LOADED = ButtonWrapper(
name='MISSIONS_LOADED',
share=Button(
file='./assets/share/battle_pass/MISSIONS_LOADED.png',
area=(1163, 573, 1179, 589),
search=(1143, 553, 1199, 609),
color=(186, 183, 170),
button=(1163, 573, 1179, 589),
),
)
MISSION_PAGE_SCROLL = ButtonWrapper(
name='MISSION_PAGE_SCROLL',
share=Button(
file='./assets/share/battle_pass/MISSION_PAGE_SCROLL.png',
area=(1186, 215, 1190, 601),
search=(1166, 195, 1210, 621),
color=(140, 140, 140),
button=(1186, 215, 1190, 601),
),
)
OCR_BATTLE_PASS_QUEST = ButtonWrapper(
name='OCR_BATTLE_PASS_QUEST',
share=Button(
file='./assets/share/battle_pass/OCR_BATTLE_PASS_QUEST.png',
area=(372, 216, 1173, 591),
search=(352, 196, 1193, 611),
color=(185, 184, 180),
button=(372, 216, 1173, 591),
),
)
OCR_LEVEL = ButtonWrapper(
name='OCR_LEVEL',
share=Button(
file='./assets/share/battle_pass/OCR_LEVEL.png',
area=(183, 93, 240, 134),
search=(163, 73, 260, 154),
color=(90, 79, 60),
button=(183, 93, 240, 134),
),
)
OCR_REMAINING_TIME = ButtonWrapper(
name='OCR_REMAINING_TIME',
share=Button(
file='./assets/share/battle_pass/OCR_REMAINING_TIME.png',
area=(289, 89, 630, 132),
search=(269, 69, 650, 152),
color=(66, 63, 57),
button=(289, 89, 630, 132),
),
)
PERIOD_MISSION_CLICK = ButtonWrapper(
name='PERIOD_MISSION_CLICK',
share=Button(
file='./assets/share/battle_pass/PERIOD_MISSION_CLICK.png',
area=(128, 478, 323, 578),
search=(108, 458, 343, 598),
color=(72, 65, 45),
button=(128, 478, 323, 578),
),
)
REWARDS_CHECK = ButtonWrapper(
name='REWARDS_CHECK',
share=Button(
file='./assets/share/battle_pass/REWARDS_CHECK.png',
area=(39, 119, 78, 140),
search=(19, 99, 98, 160),
color=(131, 133, 133),
button=(39, 119, 78, 140),
),
)
REWARDS_CLAIM_ALL = ButtonWrapper(
name='REWARDS_CLAIM_ALL',
cn=Button(
file='./assets/cn/battle_pass/REWARDS_CLAIM_ALL.png',
area=(827, 665, 907, 684),
search=(807, 645, 927, 704),
color=(172, 136, 69),
button=(827, 665, 907, 684),
),
)
REWARDS_CLICK = ButtonWrapper(
name='REWARDS_CLICK',
share=Button(
file='./assets/share/battle_pass/REWARDS_CLICK.png',
area=(44, 118, 73, 132),
search=(24, 98, 93, 152),
color=(119, 119, 114),
button=(44, 118, 73, 132),
),
)
REWARDS_LOADED = ButtonWrapper(
name='REWARDS_LOADED',
share=Button(
file='./assets/share/battle_pass/REWARDS_LOADED.png',
area=(173, 286, 248, 324),
search=(153, 266, 268, 344),
color=(96, 96, 94),
button=(173, 286, 248, 324),
),
)
TODAY_MISSION_CLICK = ButtonWrapper(
name='TODAY_MISSION_CLICK',
share=Button(
file='./assets/share/battle_pass/TODAY_MISSION_CLICK.png',
area=(128, 192, 323, 334),
search=(108, 172, 343, 354),
color=(65, 59, 40),
button=(128, 192, 323, 334),
),
)
WEEK_MISSION_CLICK = ButtonWrapper(
name='WEEK_MISSION_CLICK',
share=Button(
file='./assets/share/battle_pass/WEEK_MISSION_CLICK.png',
area=(128, 336, 323, 477),
search=(108, 316, 343, 497),
color=(68, 62, 42),
button=(128, 336, 323, 477),
),
)