mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 14:31:16 +00:00
9edd120538
* Add: Battle Pass Claim Rewards * Upd: comments of public methods * Fix: Break half way if not waiting for animation change finish * Fix: set dataclass repr to false * Add: Tasks BattlePass * Upd: break get_rewards into two loops
96 lines
2.7 KiB
Python
96 lines
2.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),
|
|
),
|
|
)
|
|
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),
|
|
),
|
|
)
|