mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
commit
768391852e
BIN
assets/cn/rogue/ui/CURIO_OBTAINED.2.png
Normal file
BIN
assets/cn/rogue/ui/CURIO_OBTAINED.2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
BIN
assets/share/character/switch/FuXuan.png
Normal file
BIN
assets/share/character/switch/FuXuan.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
@ -2,6 +2,7 @@ import asyncio
|
||||
import filecmp
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
import typing as t
|
||||
from dataclasses import dataclass
|
||||
|
||||
@ -9,7 +10,8 @@ from deploy.Windows.alas import AlasManager
|
||||
from deploy.Windows.logger import logger
|
||||
from deploy.Windows.utils import cached_property
|
||||
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
|
||||
if sys.platform.startswith("win"):
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsProactorEventLoopPolicy())
|
||||
|
||||
|
||||
@dataclass
|
||||
|
@ -3,6 +3,16 @@ 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 ```
|
||||
|
||||
FuXuan = ButtonWrapper(
|
||||
name='FuXuan',
|
||||
share=Button(
|
||||
file='./assets/share/character/switch/FuXuan.png',
|
||||
area=(1180, 236, 1198, 254),
|
||||
search=(1160, 216, 1218, 274),
|
||||
color=(225, 186, 192),
|
||||
button=(1180, 236, 1198, 254),
|
||||
),
|
||||
)
|
||||
Huohuo = ButtonWrapper(
|
||||
name='Huohuo',
|
||||
share=Button(
|
||||
|
@ -97,9 +97,8 @@ class CharacterSwitch(UI):
|
||||
TrailblazerPreservationFemale,
|
||||
|
||||
],
|
||||
KEYWORDS_CHARACTER_LIST.Huohuo: [
|
||||
Huohuo,
|
||||
],
|
||||
KEYWORDS_CHARACTER_LIST.Huohuo: [Huohuo],
|
||||
KEYWORDS_CHARACTER_LIST.FuXuan: [FuXuan],
|
||||
}
|
||||
for character, templates in dict_template.items():
|
||||
for template in templates:
|
||||
|
@ -79,13 +79,22 @@ COSMIC_FRAGMENT = ButtonWrapper(
|
||||
)
|
||||
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),
|
||||
),
|
||||
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',
|
||||
|
Loading…
Reference in New Issue
Block a user