mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 16:40:28 +00:00
211314aaa1
* Add: ItemUI * Add: Salvage relic * Upd: reuse CONFIRM_POPUP * Add: wait_until_tab_loaded * Add: wait_until_tab_loaded * Fix: Return to item page when finish salvaging * Add: Salvage relics to daily quest * Fix typo * Add: all item tabs' navigation * Upd: remove unused asset * Upd: remove item tab keywords' underscore
146 lines
4.1 KiB
Python
146 lines
4.1 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 ```
|
|
|
|
CONSUMABLE_CHECK = ButtonWrapper(
|
|
name='CONSUMABLE_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/CONSUMABLE_CHECK.png',
|
|
area=(39, 476, 78, 499),
|
|
search=(19, 456, 98, 519),
|
|
color=(137, 138, 139),
|
|
button=(39, 476, 78, 499),
|
|
),
|
|
)
|
|
CONSUMABLE_CLICK = ButtonWrapper(
|
|
name='CONSUMABLE_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/CONSUMABLE_CLICK.png',
|
|
area=(38, 476, 80, 499),
|
|
search=(18, 456, 100, 519),
|
|
color=(104, 106, 117),
|
|
button=(38, 476, 80, 499),
|
|
),
|
|
)
|
|
LIGHT_CONE_CHECK = ButtonWrapper(
|
|
name='LIGHT_CONE_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/LIGHT_CONE_CHECK.png',
|
|
area=(43, 207, 73, 228),
|
|
search=(23, 187, 93, 248),
|
|
color=(191, 193, 193),
|
|
button=(43, 207, 73, 228),
|
|
),
|
|
)
|
|
LIGHT_CONE_CLICK = ButtonWrapper(
|
|
name='LIGHT_CONE_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/LIGHT_CONE_CLICK.png',
|
|
area=(42, 205, 72, 226),
|
|
search=(22, 185, 92, 246),
|
|
color=(48, 50, 50),
|
|
button=(42, 205, 72, 226),
|
|
),
|
|
)
|
|
MISSIONS_CHECK = ButtonWrapper(
|
|
name='MISSIONS_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/MISSIONS_CHECK.png',
|
|
area=(42, 570, 75, 588),
|
|
search=(22, 550, 95, 608),
|
|
color=(91, 92, 92),
|
|
button=(42, 570, 75, 588),
|
|
),
|
|
)
|
|
MISSIONS_CLICK = ButtonWrapper(
|
|
name='MISSIONS_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/MISSIONS_CLICK.png',
|
|
area=(43, 569, 74, 589),
|
|
search=(23, 549, 94, 609),
|
|
color=(115, 117, 117),
|
|
button=(43, 569, 74, 589),
|
|
),
|
|
)
|
|
OTHER_MATERIALS_CHECK = ButtonWrapper(
|
|
name='OTHER_MATERIALS_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/OTHER_MATERIALS_CHECK.png',
|
|
area=(41, 385, 77, 408),
|
|
search=(21, 365, 97, 428),
|
|
color=(122, 123, 123),
|
|
button=(41, 385, 77, 408),
|
|
),
|
|
)
|
|
OTHER_MATERIALS_CLICK = ButtonWrapper(
|
|
name='OTHER_MATERIALS_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/OTHER_MATERIALS_CLICK.png',
|
|
area=(40, 387, 78, 407),
|
|
search=(20, 367, 98, 427),
|
|
color=(92, 94, 94),
|
|
button=(40, 387, 78, 407),
|
|
),
|
|
)
|
|
RELICS_CHECK = ButtonWrapper(
|
|
name='RELICS_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/RELICS_CHECK.png',
|
|
area=(38, 297, 80, 317),
|
|
search=(18, 277, 100, 337),
|
|
color=(101, 103, 103),
|
|
button=(38, 297, 80, 317),
|
|
),
|
|
)
|
|
RELICS_CLICK = ButtonWrapper(
|
|
name='RELICS_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/RELICS_CLICK.png',
|
|
area=(36, 298, 78, 319),
|
|
search=(16, 278, 98, 339),
|
|
color=(121, 124, 129),
|
|
button=(36, 298, 78, 319),
|
|
),
|
|
)
|
|
UPGRADE_MATERIAL_CHECK = ButtonWrapper(
|
|
name='UPGRADE_MATERIAL_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/UPGRADE_MATERIAL_CHECK.png',
|
|
area=(39, 117, 78, 139),
|
|
search=(19, 97, 98, 159),
|
|
color=(195, 199, 198),
|
|
button=(39, 117, 78, 139),
|
|
),
|
|
)
|
|
UPGRADE_MATERIAL_CLICK = ButtonWrapper(
|
|
name='UPGRADE_MATERIAL_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/UPGRADE_MATERIAL_CLICK.png',
|
|
area=(40, 120, 78, 139),
|
|
search=(20, 100, 98, 159),
|
|
color=(114, 118, 125),
|
|
button=(40, 120, 78, 139),
|
|
),
|
|
)
|
|
VALUABLES_CHECK = ButtonWrapper(
|
|
name='VALUABLES_CHECK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/VALUABLES_CHECK.png',
|
|
area=(44, 641, 73, 653),
|
|
search=(24, 621, 93, 673),
|
|
color=(91, 86, 92),
|
|
button=(44, 641, 73, 653),
|
|
),
|
|
)
|
|
VALUABLES_CLICK = ButtonWrapper(
|
|
name='VALUABLES_CLICK',
|
|
share=Button(
|
|
file='./assets/share/item/ui/VALUABLES_CLICK.png',
|
|
area=(45, 640, 72, 655),
|
|
search=(25, 620, 92, 675),
|
|
color=(123, 125, 125),
|
|
button=(45, 640, 72, 655),
|
|
),
|
|
)
|