mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
384c4302a2
* Fix: Obtain position & closed * Add: find may_obtain to locate obtain_1 * Fix: stupid bug
83 lines
2.3 KiB
Python
83 lines
2.3 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 ```
|
|
|
|
ITEM_AMOUNT = ButtonWrapper(
|
|
name='ITEM_AMOUNT',
|
|
share=Button(
|
|
file='./assets/share/combat/obtain/ITEM_AMOUNT.png',
|
|
area=(190, 521, 490, 539),
|
|
search=(170, 501, 510, 559),
|
|
color=(195, 190, 188),
|
|
button=(190, 521, 490, 539),
|
|
),
|
|
)
|
|
ITEM_CLOSE = ButtonWrapper(
|
|
name='ITEM_CLOSE',
|
|
share=Button(
|
|
file='./assets/share/combat/obtain/ITEM_CLOSE.png',
|
|
area=(1043, 185, 1073, 215),
|
|
search=(1023, 165, 1093, 235),
|
|
color=(170, 170, 170),
|
|
button=(1043, 185, 1073, 215),
|
|
),
|
|
)
|
|
ITEM_NAME = ButtonWrapper(
|
|
name='ITEM_NAME',
|
|
share=Button(
|
|
file='./assets/share/combat/obtain/ITEM_NAME.png',
|
|
area=(495, 187, 855, 211),
|
|
search=(475, 167, 875, 231),
|
|
color=(176, 177, 179),
|
|
button=(495, 187, 855, 211),
|
|
),
|
|
)
|
|
MAY_OBTAIN = ButtonWrapper(
|
|
name='MAY_OBTAIN',
|
|
cn=Button(
|
|
file='./assets/cn/combat/obtain/MAY_OBTAIN.png',
|
|
area=(813, 379, 893, 397),
|
|
search=(812, 373, 895, 468),
|
|
color=(63, 71, 87),
|
|
button=(813, 379, 893, 397),
|
|
),
|
|
en=Button(
|
|
file='./assets/en/combat/obtain/MAY_OBTAIN.png',
|
|
area=(813, 379, 922, 397),
|
|
search=(813, 373, 923, 468),
|
|
color=(53, 61, 78),
|
|
button=(813, 379, 922, 397),
|
|
),
|
|
)
|
|
OBTAIN_1 = ButtonWrapper(
|
|
name='OBTAIN_1',
|
|
share=Button(
|
|
file='./assets/share/combat/obtain/OBTAIN_1.png',
|
|
area=(813, 414, 877, 478),
|
|
search=(793, 394, 897, 498),
|
|
color=(118, 96, 131),
|
|
button=(813, 414, 877, 478),
|
|
),
|
|
)
|
|
OBTAIN_2 = ButtonWrapper(
|
|
name='OBTAIN_2',
|
|
share=Button(
|
|
file='./assets/share/combat/obtain/OBTAIN_2.png',
|
|
area=(889, 414, 953, 478),
|
|
search=(869, 394, 973, 498),
|
|
color=(71, 96, 145),
|
|
button=(889, 414, 953, 478),
|
|
),
|
|
)
|
|
OBTAIN_3 = ButtonWrapper(
|
|
name='OBTAIN_3',
|
|
share=Button(
|
|
file='./assets/share/combat/obtain/OBTAIN_3.png',
|
|
area=(965, 414, 1029, 478),
|
|
search=(945, 394, 1049, 498),
|
|
color=(76, 101, 109),
|
|
button=(965, 414, 1029, 478),
|
|
),
|
|
)
|