MCPcopy Create free account

hub / github.com/runhey/OnmyojiAutoScript / functions

Functions1,281 in github.com/runhey/OnmyojiAutoScript

Method__init__
:param port: 端口 tcp 127.0.0.1:port :param config: 如oas1 :param log_queue: 一个输出到gui的Log队列
module/gui/process/script_process.py:12
Method__init__
(self)
module/server/script_websocket.py:8
Method__init__
(self, func: Callable[..., T])
module/server/setting.py:35
Method__init__
(self)
module/server/main_manager.py:25
Method__init__
(self, config_name: str)
module/server/script_process.py:21
Method__init__
(self, next_run: datetime, limit_time: time, target_run: da
module/team_flow/task.py:14
Method__init__
(self, username: str)
module/team_flow/player.py:13
Method__init__
(self, team_flow: TeamFlow)
module/team_flow/mqtt.py:32
Method__init__
(self, config: Config)
module/team_flow/host.py:32
Method__init__
(self, _config: str, enable: bool=False)
module/notify/notify.py:18
Method__init__
(self, *args, **kwargs)
module/daemon/daemon_base.py:5
Method__init__
输入的是每一个ConfigModel的一个字段对象 :param data:
module/config/config.py:32
Method__init__
:param config_name: :param task:
module/config/config.py:97
Method__init__
(self, config: str)
module/config/config_modify.py:27
Method__init__
(self, path, mode=DEFAULT_MODE, overwrite=False, **open_kwargs)
module/config/atomicwrites.py:142
Method__init__
:param config_name:
module/config/config_model.py:123
Method__init__
(self, config_name: str)
module/config/config_state.py:10
Method__init__
(self)
module/config/config_menu.py:13
Method__init__
image rule 提取 :param data: json解析后的数据
dev_tools/assets_extract.py:45
Method__init__
click rule 提取 :param data: json解析后的数据
dev_tools/assets_extract.py:80
Method__init__
long click rule 提取 :param data: json解析后的数据
dev_tools/assets_extract.py:108
Method__init__
swipe rule 提取 :param data: json解析后的数据
dev_tools/assets_extract.py:137
Method__init__
swipe rule 提取 :param data: json解析后的数据
dev_tools/assets_extract.py:165
Method__init__
List rule 提取 :param data: json解析后的数据
dev_tools/assets_extract.py:197
Method__init__
assets 提取某个任务文件夹下的所以的资源 :param task_name: 任务名
dev_tools/assets_extract.py:248
Method__init__
获取./tasks目录下的所有任务文件夹,遍历每一个任务文件夹提取assets
dev_tools/assets_extract.py:400
Method__init__
(self, config: Config, device: Device)
tasks/base_task.py:41
Method__init__
(self, check_button)
tasks/GameUi/page.py:11
Method__iter__
(self)
module/map/map_grids.py:10
Method__len__
(self)
module/map/map_grids.py:26
Method__modify_schema__
( cls, field_schema: dict[str, Any], field: ModelField | None )
tasks/Component/config_base.py:30
Method__modify_schema__
( cls, field_schema: dict[str, Any], field: ModelField | None )
tasks/Component/config_base.py:44
Method__modify_schema__
( cls, field_schema: dict[str, Any], field: ModelField | None )
tasks/Component/config_base.py:52
Method__modify_schema__
( cls, field_schema: dict[str, Any], field: ModelField | None )
tasks/Component/config_base.py:79
Method__repr__
(self)
module/logger.py:309
Method__repr__
(self)
tasks/Component/config_base.py:40
Method__rich_console__
( self, console: Console, options: ConsoleOptions )
module/logger.py:291
Method__setattr__
只要修改属性就会触发这个函数 自动保存 :param key: :param value: :return:
module/config/config_model.py:135
Method__str__
(self)
module/atom/image.py:42
Method__str__
(self)
module/base/timer.py:161
Method__str__
(self)
module/map/map_grids.py:22
Method__str__
(self)
module/map/map_grids.py:319
Method__str__
(self)
module/device/connection.py:82
Method__str__
(self)
module/device/method/utils.py:304
Method__str__
(self)
module/config/config.py:65
Method__str__
(self)
tasks/GameUi/page.py:24
Method__str__
(self)
tasks/Component/config_base.py:37
Method_check_ap_box
(appear: bool=False)
tasks/KekkaiUtilize/script_task.py:142
Method_check_bought
检查是否已经购买, 弃用,无法识别任何文字 :return: True 已经购买
tasks/RichMan/shrine.py:51
Method_check_exp_box
(appear: bool=False)
tasks/KekkaiUtilize/script_task.py:172
Method_current_select_best
当前选中的最好的卡,(会自动和记录的最好的比较) 包括点击这种卡 :return: 返回当前选中的最好的卡, 如果什么的都没有,返回None
tasks/KekkaiUtilize/script_task.py:350
Method_exit_to_realm
()
tasks/KekkaiUtilize/script_task.py:132
Method_gui_set_status
设置给gui显示的状态 :param status: 可以在gui中显示的状态 有 "Init", "Empty"(不显示), "Run"(运行中), "Error", "Free"(空闲) :return:
script.py:233
Method_gui_update_tasks
获取更新任务后 pending waiting 的任务 和 当前的任务的数据。打包给gui显示 :return:
script.py:204
Method_minitouch_loop
(self)
module/device/method/minitouch.py:452
Method_nc_server_host_port
Returns: str, int, str, int: server_listen_host, server_listen_port, client_connect_host, client_connect_port
module/device/connection.py:257
Method_scrcpy_control
(self)
module/device/method/scrcpy/core.py:44
Method_scrcpy_stream_loop
Core loop for video parsing
module/device/method/scrcpy/core.py:181
Methodadb
(self)
deploy/adb.py:23
Methodadb
(self)
module/device/connection_attr.py:265
Methodadb_backup
(self)
deploy/emulator.py:94
Methodadb_binary
(self)
deploy/emulator.py:90
Methodadb_binary
(self)
module/device/connection_attr.py:224
Methodadb_client
(self)
module/device/connection_attr.py:249
Methodadb_exec_out
(self, cmd, serial=None)
module/device/connection.py:387
Methodadb_recover
Revert adb replacement
deploy/emulator.py:151
Methodadb_recover
Revert adb replacement
deploy/emulator.py:369
Methodadb_replace
Backup the adb in emulator folder to xxx.bak, replace it with your adb. Need to call `adb kill-server` before replacing. Arg
deploy/emulator.py:130
Methodadb_reverse_remove
Equivalent to `adb -s <serial> reverse --remove <local>` Args: local (str): Such as 'tcp:2437'
module/device/connection.py:464
Methodadd_by_eq
Another `add()` method, but de-duplicates with `__eq__` instead of `__hash__`. Args: grids(SelectedGrids): Retu
module/map/map_grids.py:194
Methodadd_script_file
(self, file_name: str)
module/server/main_manager.py:46
Methodafter_process
(self, result)
module/atom/ocr.py:20
Methodafter_process
(self, result)
module/ocr/sub_ocr.py:66
Methodafter_process
(self, result)
module/ocr/sub_ocr.py:96
Methodafter_process
(self, result)
module/ocr/sub_ocr.py:124
Methodafter_process
(self, result)
module/ocr/sub_ocr.py:158
Methodalive
alive :return:
module/gui/process/script_process.py:30
Methodanswer
()
tasks/DemonEncounter/script_task.py:241
Methodapp_check
()
tasks/GameUi/game_ui.py:92
Methodapp_start
(self)
module/device/app_control.py:27
Methodapp_stop
(self)
module/device/app_control.py:37
Methodarea
(self)
module/device/method/utils.py:289
Functionarea_cross_area
Args: area1: (upper_left_x, upper_left_y, bottom_right_x, bottom_right_y). area2: (upper_left_x, upper_left_y, bottom_right_x, b
module/base/utils.py:327
Functionarea_in_area
Args: area1: (upper_left_x, upper_left_y, bottom_right_x, bottom_right_y). area2: (upper_left_x, upper_left_y, bottom_right_x, b
module/base/utils.py:310
Functionarea_pad
Inner offset an area. Args: area: (upper_left_x, upper_left_y, bottom_right_x, bottom_right_y). pad (int): Returns:
module/base/utils.py:213
Methodargs
(self)
module/config/config_updater.py:16
Functionattr
(name, text)
module/logger.py:332
Functionattr_align
(name, text, front='', align=22)
module/logger.py:335
Methodback_boss
()
tasks/WeeklyTrifles/script_task.py:115
Methodback_or_turn_screen_on
If the screen is off, it is turned on only on ACTION_DOWN Args: action: ACTION_DOWN | ACTION_UP
module/device/method/scrcpy/control.py:123
Methodball_number
!!! 弃用,原因是发现进行探查的时候会出现: 你的阴阳师会挡住球的位置,导致识别不到球 获取当前球的数量, 探查阶段优化使用的,但是在你抓完契灵后记得清空 :return:
tasks/BondlingFairyland/script_task.py:308
Methodballs_roi
获取球的五个位置是识别区域 :return:
tasks/BondlingFairyland/script_task.py:281
Methodballs_target
获取所有的球的图片 :return:
tasks/BondlingFairyland/script_task.py:269
Methodbattle_config
(self)
tasks/Secret/script_task.py:35
Methodbattle_config
(self)
tasks/Nian/script_task.py:131
Methodbattle_wait
(self, random_click_swipt_enable: bool)
tasks/Tako/script_task.py:106
Methodbattle_wait
重写, 阴界之门: 胜利后回到狩猎战的主界面 麒麟: 胜利后回到麒麟的主界面 :param random_click_swipt_enable: :return:
tasks/Hunt/script_task.py:129
Methodbattle_wait
(self, random_click_swipt_enable: bool)
tasks/Secret/script_task.py:241
Methodbattle_wait
重写战斗等待 # https://github.com/runhey/OnmyojiAutoScript/issues/95 :param random_click_swipt_enable: :return:
tasks/Orochi/script_task.py:415
Methodbattle_wait
(self, random_click_swipt_enable: bool)
tasks/GoldYoukai/script_task.py:77
← previousnext →801–900 of 1,281, ranked by callers