| 1234567891011121314151617181920212223242526272829303132333435363738 |
- from module.atom.image import RuleImage
- from module.atom.click import RuleClick
- from module.atom.long_click import RuleLongClick
- from module.atom.swipe import RuleSwipe
- from module.atom.ocr import RuleOcr
- from module.atom.list import RuleList
- # This file was automatically generated by ./dev_tools/assets_extract.py.
- # Don't modify it manually.
- class FallenSunAssets:
- # Image Rule Assets
- # 选择日轮
- I_FALLEN_SUN = RuleImage(roi_front=(881,100,58,65), roi_back=(720,83,231,394), threshold=0.8, method="Template matching", file="./tasks/FallenSun/f/f_fallen_sun.png")
- # 组队
- I_FORM_TEAM = RuleImage(roi_front=(963,584,96,90), roi_back=(963,584,96,90), threshold=0.8, method="Template matching", file="./tasks/FallenSun/f/f_form_team.png")
- # description
- I_FALLEN_SUN_FIRE = RuleImage(roi_front=(1142,593,94,51), roi_back=(1141,582,104,98), threshold=0.8, method="Template matching", file="./tasks/FallenSun/f/f_fallen_sun_fire.png")
- # description
- I_FALLEN_SUN_UNLOCK = RuleImage(roi_front=(699,650,31,38), roi_back=(699,650,31,38), threshold=0.8, method="Template matching", file="./tasks/FallenSun/f/f_fallen_sun_unlock.png")
- # description
- I_FALLEN_SUN_LOCK = RuleImage(roi_front=(700,652,31,37), roi_back=(700,652,31,37), threshold=0.8, method="Template matching", file="./tasks/FallenSun/f/f_fallen_sun_lock.png")
- # 小小宠物,发现宝藏
- I_PET_PRESENT = RuleImage(roi_front=(873,184,62,147), roi_back=(873,184,62,147), threshold=0.8, method="Template matching", file="./tasks/FallenSun/f/f_pet_present.png")
- # List Rule Assets
- # 这个是御魂界面选择不同层数的
- L_LAYER_LIST = RuleList(folder="./tasks/FallenSun/res", direction="vertical", mode="ocr", roi_back=(128,106,65,579), size=(65, 86),
- array=["壹", "贰", "叁", "日"])
- # Ocr Rule Assets
- # Ocr-description
- O_O_TEST_OCR = RuleOcr(roi=(85,96,361,491), area=(85,96,360,491), mode="Full", method="Default", keyword="", name="o_test_ocr")
|