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 GoryouRealmAssets: # Click Rule Assets # description C_GR_C_1 = RuleClick(roi_front=(107,98,213,409), roi_back=(107,98,213,409), name="gr_c_1") # description C_GR_C_2 = RuleClick(roi_front=(405,98,228,325), roi_back=(405,98,228,325), name="gr_c_2") # description C_GR_C_3 = RuleClick(roi_front=(708,118,232,367), roi_back=(708,118,232,367), name="gr_c_3") # description C_GR_C_4 = RuleClick(roi_front=(1017,112,222,316), roi_back=(1017,112,222,316), name="gr_c_4") # Image Rule Assets # 点击挑战 I_GR_FIRE = RuleImage(roi_front=(1051,577,100,100), roi_back=(1051,577,100,100), threshold=0.8, method="Template matching", file="./tasks/GoryouRealm/gr/gr_gr_fire.png") # description I_GR_LOCK = RuleImage(roi_front=(702,655,27,32), roi_back=(702,655,27,32), threshold=0.8, method="Template matching", file="./tasks/GoryouRealm/gr/gr_gr_lock.png") # description I_GR_UNLOCK = RuleImage(roi_front=(703,653,26,33), roi_back=(703,653,26,33), threshold=0.8, method="Template matching", file="./tasks/GoryouRealm/gr/gr_gr_unlock.png") # Ocr Rule Assets # 多少张票 O_GR_TICKET = RuleOcr(roi=(938,4,100,41), area=(938,4,100,41), mode="Digit", method="Default", keyword="", name="gr_ticket")