mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-25 18:05:26 +00:00
106 lines
3.0 KiB
Python
106 lines
3.0 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 ```
|
|
|
|
BLESSING_CONFIRM = ButtonWrapper(
|
|
name='BLESSING_CONFIRM',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/BLESSING_CONFIRM.png',
|
|
area=(960, 629, 1233, 677),
|
|
search=(940, 609, 1253, 697),
|
|
color=(217, 218, 218),
|
|
button=(960, 629, 1233, 677),
|
|
),
|
|
)
|
|
CHECK_BLESSING = ButtonWrapper(
|
|
name='CHECK_BLESSING',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/CHECK_BLESSING.png',
|
|
area=(946, 17, 986, 57),
|
|
search=(926, 0, 1006, 77),
|
|
color=(61, 58, 52),
|
|
button=(946, 17, 986, 57),
|
|
),
|
|
)
|
|
COSMIC_FRAGMENT = ButtonWrapper(
|
|
name='COSMIC_FRAGMENT',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/COSMIC_FRAGMENT.png',
|
|
area=(1146, 19, 1181, 55),
|
|
search=(1126, 0, 1201, 75),
|
|
color=(86, 68, 62),
|
|
button=(1146, 19, 1181, 55),
|
|
),
|
|
)
|
|
FLAG_UNRECORD = ButtonWrapper(
|
|
name='FLAG_UNRECORD',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/FLAG_UNRECORD.png',
|
|
area=(746, 149, 778, 181),
|
|
search=(726, 129, 798, 201),
|
|
color=(133, 130, 161),
|
|
button=(746, 149, 778, 181),
|
|
),
|
|
)
|
|
OBTAIN_ITEM_POPUP = ButtonWrapper(
|
|
name='OBTAIN_ITEM_POPUP',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/OBTAIN_ITEM_POPUP.png',
|
|
area=(180, 573, 432, 720),
|
|
search=(160, 553, 452, 720),
|
|
color=(131, 109, 73),
|
|
button=(180, 573, 432, 720),
|
|
),
|
|
)
|
|
OCR_COSMIC_FRAGMENT = ButtonWrapper(
|
|
name='OCR_COSMIC_FRAGMENT',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/OCR_COSMIC_FRAGMENT.png',
|
|
area=(1183, 27, 1256, 46),
|
|
search=(1163, 7, 1276, 66),
|
|
color=(30, 32, 32),
|
|
button=(1183, 27, 1256, 46),
|
|
),
|
|
)
|
|
PAGE_CHOOSE_BONUS = ButtonWrapper(
|
|
name='PAGE_CHOOSE_BONUS',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/PAGE_CHOOSE_BONUS.png',
|
|
area=(503, 180, 555, 230),
|
|
search=(483, 160, 575, 250),
|
|
color=(33, 29, 54),
|
|
button=(503, 180, 555, 230),
|
|
),
|
|
)
|
|
PAGE_CHOOSE_BUFF = ButtonWrapper(
|
|
name='PAGE_CHOOSE_BUFF',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/PAGE_CHOOSE_BUFF.png',
|
|
area=(1020, 78, 1160, 96),
|
|
search=(1000, 58, 1180, 116),
|
|
color=(38, 39, 41),
|
|
button=(1020, 78, 1160, 96),
|
|
),
|
|
)
|
|
PAGE_CHOOSE_CURIO = ButtonWrapper(
|
|
name='PAGE_CHOOSE_CURIO',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/PAGE_CHOOSE_CURIO.png',
|
|
area=(988, 17, 1028, 57),
|
|
search=(968, 0, 1048, 77),
|
|
color=(40, 39, 34),
|
|
button=(988, 17, 1028, 57),
|
|
),
|
|
)
|
|
PAGE_EVENT = ButtonWrapper(
|
|
name='PAGE_EVENT',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/PAGE_EVENT.png',
|
|
area=(983, 485, 1007, 509),
|
|
search=(963, 465, 1027, 529),
|
|
color=(51, 48, 42),
|
|
button=(983, 485, 1007, 509),
|
|
),
|
|
)
|