Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/runhey/OnmyojiAutoScript
/ functions
Functions
1,281 in github.com/runhey/OnmyojiAutoScript
⨍
Functions
1,281
◇
Types & classes
410
↳
Endpoints
15
Method
screenshot_methods
(self)
module/device/screenshot.py:34
Method
screenshot_scrcpy
(self)
module/device/method/scrcpy/scrcpy.py:79
Method
screenshot_size
第一个是width 第二个是heigth 2023.7.1 在高缩放的设备上应该输出1280X720 :return:
module/device/handle.py:365
Method
screenshot_window_background
后台截屏 :return:
module/device/method/window.py:38
Function
script_menu
()
module/server/script_router.py:26
Function
script_start
(script_name: str)
module/server/script_router.py:51
Function
script_stop
(script_name: str)
module/server/script_router.py:58
Function
script_task
(script_name: str, task: str)
module/server/script_router.py:66
Function
script_task_log
(script_name: str)
module/server/script_router.py:118
Function
script_task_state
(script_name: str)
module/server/script_router.py:103
Function
script_test
()
module/server/script_router.py:22
Method
scroll
Scroll screen Args: x: horizontal position y: vertical position h: horizontal movement
module/device/method/scrcpy/control.py:100
Method
scroll_window_message
弃置 https://github.com/runhey/OnmyojiAutoScript/issues/43 :param x: :param y: :param delta: :return:
module/device/method/window.py:313
Method
sdk_ver
Android SDK/API levels, see https://apilevels.com/
module/device/connection.py:234
Method
select
(name: str)
tasks/MysteryShop/script_task.py:147
Method
self_pid
(self)
deploy/process.py:17
Method
serial
Returns: list[str]: Such as ['127.0.0.1:62001', '127.0.0.1:62025']
deploy/emulator.py:107
Method
serial
Returns: list[str]: All available emulator serial on current computer.
deploy/emulator.py:325
Method
set
Set attribute to each grid. Args: **kwargs:
module/map/map_grids.py:138
Method
set_arg
:param task: :param group: :param argument: :param value: :return:
module/config/config.py:147
Method
set_clipboard
Set clipboard Args: text: the string you want to set paste: paste now
module/device/method/scrcpy/control.py:180
Method
set_dpi_scale
设置dpi缩放 :param strategy: :return:
module/gui/fluent_app.py:114
Method
set_image
(self, image: QImage)
module/gui/register_type/paint_image.py:30
Method
set_language
设置语言 :param language: :return:
module/gui/fluent_app.py:89
Method
set_layer_roi
(ocr_target: RuleOcr, roi: tuple)
tasks/Secret/script_task.py:136
Method
set_local
(self, image_name: str)
module/gui/register_type/paint_image.py:38
Method
set_screen_power_mode
Set screen power mode Args: mode: POWER_MODE_OFF | POWER_MODE_NORMAL
module/device/method/scrcpy/control.py:192
Function
show
()
module/logger.py:341
Method
show
(self)
module/base/timer.py:157
Method
show_config
(self)
module/server/config.py:30
Method
show_float_window
Don't show float windows.
module/device/method/utils.py:249
Function
show_handlers
(handlers)
module/logger.py:143
Function
shutdown_event
()
module/server/app.py:26
Method
sort_by_camera_distance
Args: camera (tuple): Returns: SelectedGrids:
module/map/map_grids.py:265
Method
sort_by_clock_degree
Args: center (tuple): Origin point. start (tuple): Start coordinate, this point will be considered as theta=0.
module/map/map_grids.py:282
Function
sorted_boxes
Sort text boxes in order from top to bottom, left to right args: dt_boxes(array):detected text boxes with shape [4, 2] return:
module/ocr/ppocr.py:32
Method
staer
(x)
module/atom/cBezier.py:19
Method
staer
(x)
module/base/cBezier.py:20
Method
start_push_data_thread
(self)
module/server/main_manager.py:54
Method
start_script
启动脚本的loop :param config: :return:
module/gui/context/process_manager.py:453
Function
startup_event
()
module/server/app.py:21
Method
stop_all
stop_all :return:
module/gui/context/process_manager.py:175
Method
stop_script
停止脚本的loop :param config: :return:
module/gui/context/process_manager.py:468
Function
subscribe
(client: mqtt_client)
module/team_flow/mqtt_test.py:31
Method
swipe_vector
Method to swipe. Args: box (tuple): Swipe in box (upper_left_x, upper_left_y, bottom_right_x, bottom_right_y). vector
module/device/control.py:199
Method
swipe_vector_window_message2
后台滑动, 直线滑动 :param startPos: :param endPos: :return:
module/device/method/window.py:262
Method
switch_collect
()
tasks/AreaBoss/script_task.py:75
Method
switch_soul
(bondling_class: BondlingClass)
tasks/BondlingFairyland/script_task.py:216
Method
test_notify
(self, _config: str, title: str, content: str)
module/gui/context/utils.py:26
Method
text
Send text to device Args: text: text to send
module/device/method/scrcpy/control.py:62
Function
time_range_active
Args: time_range(tuple(datetime.datetime)): (time start, time end). Returns: bool:
module/base/timer.py:66
Function
timer
装饰器 打印函数时间时间
module/base/timer.py:8
Method
to_atx_agent
(self)
module/device/method/minitouch.py:264
Method
to_minitouch
(self)
module/device/method/minitouch.py:261
Function
to_package
Convert package/server to package.
module/config/server.py:87
Method
trace
获取滑动的路径,list的每一项都是tuple :return:
module/atom/swipe.py:62
Method
trackArray
:param start:开始点的坐标 如 start = [0, 0] :param end:结束点的坐标 如 end = [100, 100] :param numberList:返回的数组的轨迹点的数量 numberList = 150
module/base/cBezier.py:110
Method
u
效用函数 :return:
module/team_flow/task.py:63
Method
u2
(self)
module/device/connection_attr.py:269
Method
ui_click
循环的一个操作,直到出现stop :param click: :param stop: :return:
tasks/base_task.py:492
Method
update_config
更新配置文件.从template更新 :param config_name: :return:
module/config/config_updater.py:29
Method
update_tasks
update tasks :return:
module/gui/process/script_process.py:85
Method
update_template
更新模板 。从args.json更新 :param template_name: :return:
module/config/config_updater.py:20
Method
update_thread_func
更新 任务的 线程函数 从self.update_queue中获取信息,然后解析, 推送到gui :return:
module/gui/context/process_manager.py:424
Method
use_stone
使用契灵石 :param bondling_class: :return: 如果使用成功,那就返回True 如果已经有五个了返回False
tasks/BondlingFairyland/script_task.py:328
Method
validate
(cls, value)
tasks/Component/config_base.py:68
Method
wait
Wait until timer reached.
module/base/timer.py:149
Method
wait_until_appear_then_click
等待直到出现目标,然后点击 :param action: :param target: :return:
tasks/base_task.py:197
Method
wait_until_stable
等待目标稳定,即连续多次匹配成功 :param target: :param timer: :param timeout: :param skip_first_screenshot: :return:
tasks/base_task.py:220
Function
websocket_endpoint
(websocket: WebSocket, script_name: str)
module/server/script_router.py:135
Method
weight
Returns: list[int]:
module/map/map_grids.py:52
Method
when
Args: **kwargs: Any option in AzurLaneConfig. Examples: @Config.when(USE_ONE_CLICK_RETIREMENT=True)
module/base/decorator.py:31
Method
window_scale_rate
获取window的系统缩放 一般是1 :return:
module/device/handle.py:386
Method
work
(task_path: str)
dev_tools/assets_extract.py:416
Function
wrapper
(*args, **kwargs)
module/base/decorator.py:153
Function
wrapper
(f)
module/device/method/scrcpy/control.py:17
Method
wrapper
Args: self: ModuleBase instance. *args: **kwargs:
module/base/decorator.py:63
Method
write
(self, msg: str)
module/logger.py:136
Method
write_file
写入json文件,如果不存在则创建 :param file: 包含路径 :param data: 写入的数据 :return:
module/gui/register_type/rule_file.py:46
Method
write_file
Write config file. Args: config_name (str): ./config/{file}.json data (dict): mod_name (str):
module/config/config_updater.py:56
Method
xpath_to_button
Args: xpath (str): Returns: HierarchyButton: An object with methods and properties similar t
module/device/app_control.py:57
← previous
1,201–1,281 of 1,281, ranked by callers