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
↓ 1 callers
Function
point_in_area
Args: point: (x, y). area: (upper_left_x, upper_left_y, bottom_right_x, bottom_right_y). threshold: int Returns:
module/base/utils.py:296
↓ 1 callers
Function
poor_yaml_write_with_lock
(data, file, template_file=DEPLOY_TEMPLATE)
module/server/config.py:19
↓ 1 callers
Method
pre_work
前置工作, :return:
tasks/WantedQuests/script_task.py:100
↓ 1 callers
Method
priority
基于优先级,同一个优先级的任务按照先来后到的顺序进行调度,优先级高的任务先调度 :param pending: :return:
module/config/scheduler.py:68
↓ 1 callers
Method
proc_list_uiautomator2
Get info about current processes.
module/device/method/uiautomator_2.py:285
↓ 1 callers
Method
process_kill
(self)
deploy/process.py:63
↓ 1 callers
Function
publish
(client)
module/team_flow/mqtt_test.py:39
↓ 1 callers
Method
push_data_handle
(self)
module/server/main_manager.py:70
↓ 1 callers
Function
qInitResources
()
module/gui/res_rcc.py:42913
↓ 1 callers
Function
qInitResources
()
module/gui/qml_rc.py:3628
↓ 1 callers
Function
qInitResources
()
module/gui/qml_rcc.py:1465
↓ 1 callers
Function
qInitResources
()
module/gui/res_rc.py:42913
↓ 1 callers
Method
r_member
收益函数 :return:
module/team_flow/task.py:92
↓ 1 callers
Function
random_line_segments
Cut a line into multiple segments. Args: p1: (x, y). p2: (x, y). n: Number of slice. random_range: Add a random_r
module/base/utils.py:127
↓ 1 callers
Function
random_rectangle_vector_opted
Place a vector in a box randomly. When emulator/game stuck, it treats a swipe as a click, clicking at the end of swipe path. To prevent
module/base/utils.py:68
↓ 1 callers
Method
read_file
读文件并随带解析 :param file: :return:
dev_tools/assets_extract.py:274
↓ 1 callers
Method
read_json
读文件 没有额外操作 :param config_name: 不带后缀 :return:
module/config/config_model.py:149
↓ 1 callers
Function
remove_prefix
Remove prefix of a string or bytes like `string.removeprefix(prefix)`, which is on Python3.9+ Args: s (str, bytes): prefix (
module/device/method/utils.py:194
↓ 1 callers
Function
replace_atomic
Move ``src`` to ``dst``. If ``dst`` exists, it will be silently overwritten. Both paths must reside on the same filesystem for the opera
module/config/atomicwrites.py:98
↓ 1 callers
Function
replace_newline_with_br
(input_text)
module/base/log_highlighter.py:7
↓ 1 callers
Method
resolution_uiautomator2
Faster u2.window_size(), cause that calls `dumpsys display` twice. Returns: (width, height)
module/device/method/uiautomator_2.py:248
↓ 1 callers
Method
restart_atx
Minitouch supports only one connection at a time. Restart ATX to kick the existing one.
module/device/connection.py:622
↓ 1 callers
Method
roi_appear_ball
判断某个固定的区域是否出现了球 :param roi: :param image: :return: 如果出现了,那就返回可以点击的区域,如果没有出现,那就返回None
tasks/BondlingFairyland/script_task.py:293
↓ 1 callers
Method
rollback
Clean up all temporary resources.
module/config/atomicwrites.py:216
↓ 1 callers
Function
run
()
module/team_flow/mqtt_test.py:56
↓ 1 callers
Method
run
(cls)
module/gui/fluent_app.py:49
↓ 1 callers
Method
run
(self)
tasks/Sougenbi/script_task.py:18
↓ 1 callers
Method
run
(self)
tasks/Tako/script_task.py:21
↓ 1 callers
Method
run
(self)
tasks/ActivityShikigami/script_task.py:19
↓ 1 callers
Method
run
执行 :return:
tasks/Exploration/script_task.py:21
↓ 1 callers
Method
run
(self)
tasks/Hunt/script_task.py:23
↓ 1 callers
Method
run
(self)
tasks/RichMan/script_task.py:21
↓ 1 callers
Method
run
(self)
tasks/Secret/script_task.py:38
↓ 1 callers
Method
run
(self)
tasks/EternitySea/script_task.py:21
↓ 1 callers
Method
run
(self)
tasks/KekkaiUtilize/script_task.py:24
↓ 1 callers
Method
run
运行脚本 :return:
tasks/AreaBoss/script_task.py:20
↓ 1 callers
Method
run
(self)
tasks/BondlingFairyland/script_task.py:31
↓ 1 callers
Method
run
(self)
tasks/CollectiveMissions/script_task.py:47
↓ 1 callers
Method
run
(self)
tasks/Duel/script_task.py:19
↓ 1 callers
Method
run
(self)
tasks/GoryouRealm/script_task.py:21
↓ 1 callers
Method
run
(self)
tasks/Orochi/script_task.py:22
↓ 1 callers
Method
run
(self)
tasks/Pets/script_task.py:14
↓ 1 callers
Method
run
(self)
tasks/WantedQuests/script_task.py:25
↓ 1 callers
Method
run
(self)
tasks/TrueOrochi/script_task.py:23
↓ 1 callers
Method
run
(self)
tasks/GoldYoukai/script_task.py:23
↓ 1 callers
Method
run
(self)
tasks/TalismanPass/script_task.py:17
↓ 1 callers
Method
run
(self)
tasks/MysteryShop/script_task.py:23
↓ 1 callers
Method
run
(self)
tasks/RealmRaid/script_task.py:27
↓ 1 callers
Method
run
(self)
tasks/Nian/script_task.py:24
↓ 1 callers
Method
run
(self)
tasks/ExperienceYoukai/script_task.py:21
↓ 1 callers
Method
run
执行 :return:
tasks/RyouToppa/script_task.py:23
↓ 1 callers
Method
run
(self)
tasks/KekkaiActivation/script_task.py:26
↓ 1 callers
Method
run
(self)
tasks/Delegation/script_task.py:19
↓ 1 callers
Method
run
(self)
tasks/SoulsTidy/script_task.py:18
↓ 1 callers
Method
run_2
(self)
tasks/RealmRaid/script_task.py:120
↓ 1 callers
Method
run_activation
执行挂卡,要求在结界的界面 顺便把下一次执行也设置了 :return: 挂卡成功()返回True,失败(时间没到提前来了)返回False 退出的时候还是在挂卡界面而不是结界界面
tasks/KekkaiActivation/script_task.py:88
↓ 1 callers
Method
run_alone
(self)
tasks/Orochi/script_task.py:268
↓ 1 callers
Method
run_alone
(self)
tasks/EvoZone/script_task.py:275
↓ 1 callers
Method
run_alone
(self)
tasks/FallenSun/script_task.py:253
↓ 1 callers
Method
run_battle
:return: 如果结契成功返回True,否则返回False
tasks/BondlingFairyland/battle.py:17
↓ 1 callers
Method
run_catch
执行捕捉的(确保进入了结契界面) :return: (1) 盘子没了,返回False (退出页面是结契界面) (2) 时间到了,返回False (退出页面是结契界面) (3) 挑战次数到了,返回False (退出页面是
tasks/BondlingFairyland/script_task.py:184
↓ 1 callers
Method
run_friend_love
(self)
tasks/DailyTrifles/script_task.py:44
↓ 1 callers
Method
run_leader
(self)
tasks/Orochi/script_task.py:125
↓ 1 callers
Method
run_leader
(self)
tasks/EvoZone/script_task.py:123
↓ 1 callers
Method
run_leader
(self)
tasks/FallenSun/script_task.py:105
↓ 1 callers
Method
run_member
(self)
tasks/Orochi/script_task.py:216
↓ 1 callers
Method
run_member
(self)
tasks/EvoZone/script_task.py:223
↓ 1 callers
Method
run_member
(self)
tasks/FallenSun/script_task.py:201
↓ 1 callers
Method
run_one_summon
(self)
tasks/DailyTrifles/script_task.py:35
↓ 1 callers
Method
run_search
运行探查 :return: (1) 超出战斗的次数的了,(探查页面)返回False (2) 超过时间限制了,(探查页面)返回False (3) 打满五只球了,(探查界面)返回True
tasks/BondlingFairyland/script_task.py:156
↓ 1 callers
Method
run_server
启动zerorpc服务 :return:
script.py:127
↓ 1 callers
Method
run_shop
在当前的商店进行购买 :return:
tasks/MysteryShop/script_task.py:85
↓ 1 callers
Method
run_simple_screenshot_benchmark
Perform a screenshot method benchmark, test 3 times on each method. The fastest one will be set into config.
module/device/device.py:41
↓ 1 callers
Method
run_simple_screenshot_benchmark
Returns: str: The fastest screenshot method on current device.
module/daemon/benchmark.py:214
↓ 1 callers
Method
run_stone
使用结契石 进行召唤 契灵 :param bondling_stone_class: :return: (0) 不开启使用结契石,(探查界面)返回False (1) 五个球满了,(探查界面)返回True
tasks/BondlingFairyland/script_task.py:100
↓ 1 callers
Method
run_utilize
执行寄养 :param shikigami_class: :param friend: :param rule: :return:
tasks/KekkaiUtilize/script_task.py:340
↓ 1 callers
Method
run_wild
(self)
tasks/Orochi/script_task.py:320
↓ 1 callers
Method
run_wild
(self)
tasks/EvoZone/script_task.py:329
↓ 1 callers
Method
run_wild
(self)
tasks/FallenSun/script_task.py:307
↓ 1 callers
Method
schedule
执行 任务的调度 :param rule: :param pending: :return:
module/config/scheduler.py:22
↓ 1 callers
Method
scrcpy_init
(self)
module/device/method/scrcpy/core.py:47
↓ 1 callers
Method
screening_card
开始挑选卡 :return:
tasks/KekkaiActivation/script_task.py:202
↓ 1 callers
Method
screenshot
Returns: np.ndarray:
module/device/screenshot.py:47
↓ 1 callers
Method
screenshot
Returns: np.ndarray:
module/device/device.py:79
↓ 1 callers
Method
screenshot_adb_nc
(self)
module/device/method/adb.py:170
↓ 1 callers
Method
screenshot_interval_set
Args: interval (int, float, str): Minimum interval between 2 screenshots in seconds. Or None for
module/device/screenshot.py:144
↓ 1 callers
Method
script_set_arg
(self, task: str, group: str, argument: str, value)
module/config/config_model.py:336
↓ 1 callers
Method
secret
(self, goto, num=1)
tasks/WantedQuests/script_task.py:201
↓ 1 callers
Method
serial_check
serial check
module/device/connection_attr.py:72
↓ 1 callers
Function
server_timezone
()
module/config/utils.py:124
↓ 1 callers
Method
set_on_message
(self, on_msg)
module/team_flow/mqtt.py:85
↓ 1 callers
Function
set_server
Change server and this will effect globally, including assets and server specific methods. Args: package_or_server: package name
module/config/server.py:57
↓ 1 callers
Method
share
(self, share_config: ShareConfig = None)
tasks/MysteryShop/script_task.py:107
↓ 1 callers
Method
shop_reward
(self)
tasks/MysteryShop/script_task.py:177
↓ 1 callers
Method
should_reload
Returns: bool: Whether the file has been modified and configs should reload
module/config/config_watcher.py:31
↓ 1 callers
Method
show_error
(self, command=None)
deploy/config.py:154
↓ 1 callers
Function
show_fix_tip
(module)
deploy/adb.py:10
↓ 1 callers
Method
shrine_black_daruma
(self)
tasks/RichMan/shrine.py:64
↓ 1 callers
Method
shrine_white_five
(self)
tasks/RichMan/shrine.py:84
↓ 1 callers
Method
shrine_white_four
(self)
tasks/RichMan/shrine.py:104
← previous
next →
601–700 of 1,281, ranked by callers