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 DevExplorationAssets: # Click Rule Assets # 添加点击区域 C_ADD_AREA = RuleClick(roi_front=(1039,204,100,100), roi_back=(1039,204,100,100), name="add_area") # 重新邀请 C_RE_INVITE = RuleClick(roi_front=(711,410,86,46), roi_back=(711,410,86,46), name="re_invite") # Image Rule Assets # 第二十八章节 I_CHAPTER = RuleImage(roi_front=(1086,559,131,76), roi_back=(1086,559,131,76), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_chapter.png") # 微笑标识 I_SMILE = RuleImage(roi_front=(25,539,55,53), roi_back=(25,539,55,53), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_smile.png") # 添加图案 I_ADD_IMAGE = RuleImage(roi_front=(1040,203,100,100), roi_back=(1040,203,100,100), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_add_image.png") # 挑战按钮 I_START = RuleImage(roi_front=(1180,610,74,68), roi_back=(1180,610,74,68), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_start.png") # 确认 I_SURE = RuleImage(roi_front=(725,413,69,41), roi_back=(725,413,69,41), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_sure.png") # 接受邀请 I_ACCEPT = RuleImage(roi_front=(111,229,63,55), roi_back=(111,229,63,55), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_accept.png") # 退出探索 I_EXIT_TANSUO = RuleImage(roi_front=(17,35,70,56), roi_back=(17,35,70,56), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_exit_tansuo.png") # 退出标识 I_EXIT_SIGN = RuleImage(roi_front=(10,123,87,162), roi_back=(10,123,87,162), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_exit_sign.png") # exit_sign_2 I_EXIT_SIGN_2 = RuleImage(roi_front=(11,148,94,321), roi_back=(11,148,94,321), threshold=0.8, method="Template matching", file="./tasks/DevExploration/res/res_exit_sign_2.png") # Ocr Rule Assets # 组队按钮 O_TEAM_BUTTON = RuleOcr(roi=(608,516,86,46), area=(608,516,86,46), mode="Full", method="Default", keyword="组队", name="team_button") # 创建房间按钮 O_CREATE_BUTTON = RuleOcr(roi=(593,491,93,49), area=(593,491,93,49), mode="Full", method="Default", keyword="创建", name="create_button") # 需要邀请的好友名称 O_FRIEND = RuleOcr(roi=(352,180,579,320), area=(352,180,579,320), mode="Full", method="Default", keyword="", name="friend") # 邀请 O_INVITE = RuleOcr(roi=(732,553,84,45), area=(732,553,84,45), mode="Full", method="Default", keyword="邀请", name="invite") # 确认 O_QUEREN = RuleOcr(roi=(729,384,90,40), area=(729,384,90,40), mode="Full", method="Default", keyword="确认", name="queren") # 确定 O_QUEDING = RuleOcr(roi=(709,399,87,69), area=(709,399,87,69), mode="Full", method="Default", keyword="确定", name="queding") # Ocr-description O_QUEREN_2 = RuleOcr(roi=(732,385,82,40), area=(732,385,82,40), mode="Full", method="Default", keyword="确认", name="queren_2")