MCPcopy Create free account

hub / github.com/runhey/OnmyojiAutoScript / functions

Functions1,281 in github.com/runhey/OnmyojiAutoScript

↓ 2 callersMethodnext_time
重写
tasks/MysteryShop/script_task.py:196
↓ 2 callersMethodocr_appear
判断是否出现了某个文字, :param image: 屏幕的截图 :param name: :return: 如果是出现的返回可以点击的坐标 x , y 如果是在当前显示的前面则返回小于零的int, 如果是在当前显示的
module/atom/list.py:159
↓ 2 callersMethodocr_duration
:param image: :return:
module/ocr/sub_ocr.py:181
↓ 2 callersMethodocr_single_line
只支持横方向的单行ocr,不支持竖方向的单行ocr 注意:这里使用了预处理和后处理 :param image: :return:
module/ocr/base_ocr.py:139
↓ 2 callersMethodocr_str_digit_counter
(cls, result: str)
module/ocr/sub_ocr.py:131
↓ 2 callersMethodocr_time
(self, screenshot=False)
tasks/KekkaiActivation/script_task.py:189
↓ 2 callersMethodopen_expect_level
(self)
tasks/Exploration/script_task.py:78
↓ 2 callersMethodparse_time
Args: string (str): `01:30:00` Returns: datetime.timedelta:
module/ocr/sub_ocr.py:165
↓ 2 callersFunctionparse_tomorrow_server
获取明天的日期,给这个日期加上server_update的时间,返回datetime :param server_update: :return:
module/config/utils.py:247
↓ 2 callersFunctionpatch_trust_env
People use proxies, but they never realize that proxy software leaves a global proxy pointing to itself even when the software is not running
deploy/patch.py:7
↓ 2 callersFunctionpoor_yaml_read_with_lock
(file)
module/server/config.py:11
↓ 2 callersFunctionpoor_yaml_write
Args: data (dict): file (str): template_file (str):
deploy/utils.py:94
↓ 2 callersFunctionpre_checks
()
deploy/patch.py:116
↓ 2 callersMethodqml_register_type
注册qml类型 :param Class: :param qml_class: :return:
module/gui/fluent_app.py:67
↓ 2 callersMethodr_leader
收益函数 :param tasks: 在小组内的启用的同一任务列表 :return:
module/team_flow/task.py:73
↓ 2 callersFunctionrandom_rho
(dis)
module/device/method/minitouch.py:33
↓ 2 callersFunctionrandom_theta
()
module/device/method/minitouch.py:28
↓ 2 callersMethodrealm_goto_grown
进入式神育成界面 :return:
tasks/KekkaiUtilize/script_task.py:247
↓ 2 callersMethodresolution_check_uiautomator2
Alas does not actively check resolution but the width and height of screenshots. However, some screenshot methods do not provide devi
module/device/method/uiautomator_2.py:262
↓ 2 callersMethodrestart
restart 重启某个进程(会重启zerorpc),但是ports、clients、log_queue、log_thread不会重启 :param config: :return:
module/gui/context/process_manager.py:144
↓ 2 callersMethodreward_detect_click
检测是否出现 每三次就有奖励的界面, 有就领取 :return:
tasks/RealmRaid/script_task.py:391
↓ 2 callersMethodrun_store_sign
(self)
tasks/DailyTrifles/script_task.py:70
↓ 2 callersMethodsave
:return:
module/config/config_model.py:206
↓ 2 callersFunctionsave_image
Save an image like pillow. Args: image (np.ndarray): file (str):
module/base/utils.py:523
↓ 2 callersMethodscreenshot_uiautomator2
(self)
module/device/method/uiautomator_2.py:117
↓ 2 callersMethodscript_task
:param task: 同gui_args函数 :return:
module/config/config_model.py:272
↓ 2 callersMethodsend
()
module/device/method/minitouch.py:513
↓ 2 callersFunctionserver_time_offset
To convert local time to server time: server_time = local_time + server_time_offset() To convert server time to local time: l
module/config/utils.py:127
↓ 2 callersFunctionset_file_logger
(name=pyw_name)
module/logger.py:197
↓ 2 callersFunctionset_func_logger
(func)
module/logger.py:233
↓ 2 callersMethodshow_config
(self)
deploy/config.py:79
↓ 2 callersMethodswipe_adb
(self, p1, p2, duration=0.1)
module/device/method/adb.py:185
↓ 2 callersMethodswipe_pos
返回滑动的起始位置和终点位置 :param number: :param after: :return:
module/atom/list.py:46
↓ 2 callersMethodswitch
切换体力 :param current_ap: :return:
tasks/ActivityShikigami/script_task.py:160
↓ 2 callersFunctionswitch_parser
(switch_str: str)
tasks/Component/SwitchSoul/switch_soul.py:18
↓ 2 callersMethodswitch_shikigami_class
要求在式神育成的界面 切换分类 :param shikigami_class: :param shikigami_order: :return:
tasks/Component/ReplaceShikigami/replace_shikigami.py:23
↓ 2 callersMethodswitch_soul_by_name
保证在式神录的界面 :return:
tasks/Component/SwitchSoul/switch_soul.py:166
↓ 2 callersMethodtarget_check
检查输入的名称 :param name: :return:
module/atom/list.py:82
↓ 2 callersMethodtask_kill
Args: pid (list, int): name (list, str): Returns: subprocess.Popen:
module/device/emulator.py:185
↓ 2 callersMethodto_atx_agent
Dict that send to atx-agent, $DEVICE_URL/minitouch See https://github.com/openatx/atx-agent#minitouch%E6%93%8D%E4%BD%9C%E6%96%B9%E6%B
module/device/method/minitouch.py:143
↓ 2 callersMethodto_minitouch
String that write into minitouch socket
module/device/method/minitouch.py:124
↓ 2 callersMethodtrackArray
:param start:开始点的坐标 如 start = [0, 0] :param end:结束点的坐标 如 end = [100, 100] :param numberList:返回的数组的轨迹点的数量 numberList = 150
module/atom/cBezier.py:109
↓ 2 callersMethodu2_shell_background
Run at background. Note that this function will always return a success response, as this is a untested and hidden method in
module/device/method/uiautomator_2.py:303
↓ 2 callersFunctionwindow_scale_rate
获取window的系统缩放 一遍是1 :return:
module/device/handle.py:60
↓ 2 callersFunctionwrite_file
Write data into a file, supports both .yaml and .json format. Args: file (str): data (dict, list):
module/config/utils.py:71
↓ 1 callersMethod__init__
Args: config (AzurLaneConfig, str): Name of the user config under ./config
module/device/connection.py:92
↓ 1 callersMethod__init__
:param config:
module/device/handle.py:155
↓ 1 callersMethod__load_screenshot
(screenshot, method)
module/device/method/adb.py:108
↓ 1 callersMethod__process_screenshot
(self, screenshot)
module/device/method/adb.py:137
↓ 1 callersMethod__str__
(self)
module/logger.py:297
↓ 1 callersMethod_app_handle_login
最终是在庭院界面 :return:
tasks/Restart/login.py:15
↓ 1 callersMethod_battle
(self, target_click)
tasks/DemonEncounter/script_task.py:305
↓ 1 callersMethod_bondling_fairyland
如果御灵已经做了那么就领取奖励 否则将契灵之境的任务设置为当前,同时两个小时后继续执行当前的任务收菜 :return:
tasks/CollectiveMissions/script_task.py:156
↓ 1 callersMethod_box
(self)
tasks/DemonEncounter/script_task.py:235
↓ 1 callersMethod_broken_amulet
:param num: :return:
tasks/WeeklyTrifles/script_task.py:199
↓ 1 callersMethod_current_select_best
(self, last_best: CardClass or None)
tasks/KekkaiActivation/script_task.py:294
↓ 1 callersMethod_donate
捐赠材料 :param index: 0, 1, 2 三个任务的位置 :return:
tasks/CollectiveMissions/script_task.py:191
↓ 1 callersMethod_drag_along
Swipe following path. Args: path (list): (x, y, sleep) Examples: al.drag_along([ (403, 421,
module/device/method/uiautomator_2.py:146
↓ 1 callersMethod_enter_bondlings
进入契灵 :return:
tasks/RichMan/mall/navbar.py:31
↓ 1 callersMethod_enter_charisma
魅力 :return:
tasks/RichMan/mall/navbar.py:78
↓ 1 callersMethod_enter_consignment
进入寄售屋 :return:
tasks/RichMan/mall/navbar.py:17
↓ 1 callersMethod_enter_friendship
友情点 :return:
tasks/RichMan/mall/navbar.py:62
↓ 1 callersMethod_enter_honor
进入荣誉 屋 :return:
tasks/RichMan/mall/navbar.py:54
↓ 1 callersMethod_enter_medal
勋章 :return:
tasks/RichMan/mall/navbar.py:70
↓ 1 callersMethod_enter_special
进入特殊 :return:
tasks/RichMan/mall/navbar.py:46
↓ 1 callersMethod_feed
投喂 :return:
tasks/Pets/script_task.py:37
↓ 1 callersFunction_get_renderables
Refer to rich.console.Console.print()
module/logger.py:257
↓ 1 callersMethod_guild_black_daruma_scrap
(self)
tasks/RichMan/guild.py:71
↓ 1 callersMethod_guild_mystery_amulet
(self)
tasks/RichMan/guild.py:58
↓ 1 callersMethod_guild_skin_ticket
(self, num: int=0)
tasks/RichMan/guild.py:84
↓ 1 callersMethod_handle_orientated_image
Args: image (np.ndarray): Returns: np.ndarray:
module/device/screenshot.py:78
↓ 1 callersMethod_honor_black_daruma_scrap
(self, enable: bool=False)
tasks/RichMan/mall/honor.py:55
↓ 1 callersMethod_honor_mystery_amulet
(self, enable: bool=False)
tasks/RichMan/mall/honor.py:29
↓ 1 callersMethod_image_convert_card
就是把一张图转化 到某个具体的类 :return:
tasks/KekkaiActivation/script_task.py:283
↓ 1 callersMethod_iter_droidcast_proc
List all DroidCast processes.
module/device/method/droidcast.py:273
↓ 1 callersMethod_mail
(self, target_click)
tasks/DemonEncounter/script_task.py:239
↓ 1 callersFunction_merge_area
(area1, area2)
module/ocr/utils.py:6
↓ 1 callersFunction_move_atomic
(src, dst)
module/config/atomicwrites.py:62
↓ 1 callersMethod_mystery
(self, target_click)
tasks/DemonEncounter/script_task.py:344
↓ 1 callersMethod_open
(self, get_fileobject)
module/config/atomicwrites.py:172
↓ 1 callersMethod_play
玩耍 :return:
tasks/Pets/script_task.py:52
↓ 1 callersMethod_player_to_config
(self)
module/team_flow/host.py:136
↓ 1 callersMethod_realm
(self, target_click)
tasks/DemonEncounter/script_task.py:328
↓ 1 callersFunction_replace_atomic
(src, dst)
module/config/atomicwrites.py:57
↓ 1 callersMethod_scales_demon
要求必须是在御魂礼盒界面 :param buy_number: :param buy_class: :param buy_position: :return:
tasks/RichMan/mall/scales.py:158
↓ 1 callersMethod_scales_orochi
要求必须是在御魂礼盒界面 :param buy_number: :return:
tasks/RichMan/mall/scales.py:115
↓ 1 callersMethod_scales_sea
:param buy_number: :param buy_rule: :return:
tasks/RichMan/mall/scales.py:261
↓ 1 callersMethod_scrcpy_receive_from_server_stream
(self)
module/device/method/scrcpy/core.py:174
↓ 1 callersMethod_scrcpy_resolution_check
(self)
module/device/method/scrcpy/scrcpy.py:73
↓ 1 callersMethod_scrcpy_server_start
Connect to scrcpy server, there will be two sockets, video and control socket. Raises: ScrcpyError:
module/device/method/scrcpy/core.py:62
↓ 1 callersMethod_share_area_boss
地鬼分享 :return:
tasks/WeeklyTrifles/script_task.py:110
↓ 1 callersMethod_share_collect
图鉴分享 :return:
tasks/WeeklyTrifles/script_task.py:54
↓ 1 callersMethod_soul
搞收御魂的任务 :param index: :return:
tasks/CollectiveMissions/script_task.py:283
↓ 1 callersMethod_special_low
购买低级盘,要求必须下滑出现低级盘 :return:
tasks/RichMan/mall/special.py:112
↓ 1 callersMethod_special_medium
购买中级盘,要求必须下滑出现中级盘 :return:
tasks/RichMan/mall/special.py:75
↓ 1 callersMethod_special_totom
购买御灵,要求必须下滑出现御灵 :return:
tasks/RichMan/mall/special.py:52
↓ 1 callersMethod_update_strategy
更新策略: :return:
module/team_flow/host.py:152
↓ 1 callersMethodadb_connect
(self, serial)
module/device/emulator.py:213
↓ 1 callersMethodadb_install
(self)
deploy/adb.py:26
↓ 1 callersMethodadb_replace
Different version of ADB will kill each other when starting. Chinese emulators (NoxPlayer, LDPlayer, MemuPlayer, MuMuPlayer) use thei
deploy/emulator.py:354
← previousnext →301–400 of 1,281, ranked by callers