mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-24 17:42:46 +00:00
196 lines
5.5 KiB
Python
196 lines
5.5 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),
|
|
),
|
|
)
|
|
BLESSING_ENHANCED = ButtonWrapper(
|
|
name='BLESSING_ENHANCED',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/BLESSING_ENHANCED.png',
|
|
area=(630, 351, 651, 370),
|
|
search=(610, 331, 671, 390),
|
|
color=(124, 125, 128),
|
|
button=(630, 351, 651, 370),
|
|
),
|
|
)
|
|
BLESSING_LOST = ButtonWrapper(
|
|
name='BLESSING_LOST',
|
|
cn=Button(
|
|
file='./assets/cn/rogue/ui/BLESSING_LOST.png',
|
|
area=(579, 44, 637, 72),
|
|
search=(565, 31, 652, 124),
|
|
color=(125, 38, 32),
|
|
button=(579, 44, 637, 72),
|
|
),
|
|
en=Button(
|
|
file='./assets/en/rogue/ui/BLESSING_LOST.png',
|
|
area=(681, 47, 744, 71),
|
|
search=(633, 35, 792, 124),
|
|
color=(130, 59, 55),
|
|
button=(681, 47, 744, 71),
|
|
),
|
|
)
|
|
BLESSING_OBTAINED = ButtonWrapper(
|
|
name='BLESSING_OBTAINED',
|
|
cn=Button(
|
|
file='./assets/cn/rogue/ui/BLESSING_OBTAINED.png',
|
|
area=(578, 44, 638, 72),
|
|
search=(565, 31, 652, 124),
|
|
color=(139, 124, 92),
|
|
button=(578, 44, 638, 72),
|
|
),
|
|
en=Button(
|
|
file='./assets/en/rogue/ui/BLESSING_OBTAINED.png',
|
|
area=(645, 46, 779, 71),
|
|
search=(633, 35, 792, 124),
|
|
color=(129, 116, 91),
|
|
button=(645, 46, 779, 71),
|
|
),
|
|
)
|
|
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),
|
|
),
|
|
)
|
|
CURIO_FIXED = ButtonWrapper(
|
|
name='CURIO_FIXED',
|
|
cn=Button(
|
|
file='./assets/cn/rogue/ui/CURIO_FIXED.png',
|
|
area=(558, 54, 626, 75),
|
|
search=(538, 34, 646, 95),
|
|
color=(126, 123, 122),
|
|
button=(558, 54, 626, 75),
|
|
),
|
|
en=None,
|
|
)
|
|
CURIO_OBTAINED = ButtonWrapper(
|
|
name='CURIO_OBTAINED',
|
|
cn=[
|
|
Button(
|
|
file='./assets/cn/rogue/ui/CURIO_OBTAINED.png',
|
|
area=(643, 86, 708, 117),
|
|
search=(623, 66, 728, 137),
|
|
color=(125, 126, 134),
|
|
button=(643, 86, 708, 117),
|
|
),
|
|
Button(
|
|
file='./assets/cn/rogue/ui/CURIO_OBTAINED.2.png',
|
|
area=(680, 86, 744, 117),
|
|
search=(660, 66, 764, 137),
|
|
color=(123, 124, 129),
|
|
button=(680, 86, 744, 117),
|
|
),
|
|
],
|
|
en=[
|
|
Button(
|
|
file='./assets/en/rogue/ui/CURIO_OBTAINED.png',
|
|
area=(511, 88, 600, 116),
|
|
search=(491, 68, 620, 136),
|
|
color=(93, 95, 102),
|
|
button=(511, 88, 600, 116),
|
|
),
|
|
Button(
|
|
file='./assets/en/rogue/ui/CURIO_OBTAINED.2.png',
|
|
area=(526, 46, 605, 71),
|
|
search=(506, 26, 625, 91),
|
|
color=(103, 91, 66),
|
|
button=(526, 46, 605, 71),
|
|
),
|
|
],
|
|
)
|
|
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),
|
|
),
|
|
)
|
|
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=(848, 17, 888, 57),
|
|
search=(828, 0, 908, 77),
|
|
color=(59, 55, 48),
|
|
button=(848, 17, 888, 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),
|
|
),
|
|
)
|
|
ROGUE_LAUNCH = ButtonWrapper(
|
|
name='ROGUE_LAUNCH',
|
|
share=Button(
|
|
file='./assets/share/rogue/ui/ROGUE_LAUNCH.png',
|
|
area=(875, 629, 896, 677),
|
|
search=(855, 609, 916, 697),
|
|
color=(171, 172, 172),
|
|
button=(896, 635, 1169, 671),
|
|
),
|
|
)
|