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
Method
exp_exit
(self, con=None)
tasks/ExperienceYoukai/script_task.py:29
↓ 1 callers
Method
extract
解析每一项,返回字符串 :param data: :return:
dev_tools/assets_extract.py:215
↓ 1 callers
Method
extract
生成一个assets.py文件 :return:
dev_tools/assets_extract.py:365
↓ 1 callers
Method
extract_item
解析每一项,返回字符串 :param item: :return:
dev_tools/assets_extract.py:63
↓ 1 callers
Method
extract_item
解析每一项,返回字符串 :param item: :return:
dev_tools/assets_extract.py:93
↓ 1 callers
Method
extract_item
解析每一项,返回字符串 :param item: :return:
dev_tools/assets_extract.py:121
↓ 1 callers
Method
extract_item
解析每一项,返回字符串 :param item: :return:
dev_tools/assets_extract.py:150
↓ 1 callers
Method
extract_item
解析每一项,返回字符串 :param item: :return:
dev_tools/assets_extract.py:179
↓ 1 callers
Function
filepath_args
(filename='args', mod_name='alas')
module/config/utils.py:24
↓ 1 callers
Method
filter
使用ocr获取结果后和keyword进行匹配. 返回匹配的index list :param keyword: 如果不指定默认适用对象的keyword :param boxed_results: :return:
module/ocr/base_ocr.py:200
↓ 1 callers
Method
find_battle
自动寻找挑战的层数并且选定 , 找不到会向下划一点 :return: 如果找得到返回层数,找不到返回None
tasks/Secret/script_task.py:131
↓ 1 callers
Method
find_bluestacks4_hyperv
Find dynamic serial of BlueStacks4 Hyper-V Beta. Args: serial (str): 'bluestacks4-hyperv', 'bluestacks4-hyperv-2' for mu
module/device/connection_attr.py:145
↓ 1 callers
Method
find_bluestacks5_hyperv
Find dynamic serial of BlueStacks5 Hyper-V. Args: serial (str): 'bluestacks5-hyperv', 'bluestacks5-hyperv-1' for multi i
module/device/connection_attr.py:179
↓ 1 callers
Method
find_one
找到一个可以打的,并且检查一下是不是这一个的是第几个的 我们约定次序是:从左到右 上到下 1 2 3 4 5 9 7 8 9 :return: 返回的第一个参数是一个RuleImage, 第二个参数是位
tasks/RealmRaid/script_task.py:333
↓ 1 callers
Function
future_time
Args: string (str): Such as 14:59. Returns: datetime.datetime: Time with given hour, minute in the future.
module/base/timer.py:24
↓ 1 callers
Method
generate_script_name
生成一个新的配置的名字 :return:
module/gui/context/add.py:76
↓ 1 callers
Method
generate_script_name
生成一个新的配置的名字 :return:
module/server/config_manager.py:67
↓ 1 callers
Method
get_all
一键收取所有的 :return:
tasks/TalismanPass/script_task.py:33
↓ 1 callers
Method
get_arg
:param task: :param group: :param argument: :return: str/int/float
module/config/config.py:134
↓ 1 callers
Method
get_bondling_class
获取契灵的种类 (这个不应该一开始就调用因为这些会有出场动画) :return:
tasks/BondlingFairyland/script_task.py:455
↓ 1 callers
Function
get_color
Calculate the average color of a particular area of the image. Args: image (np.ndarray): Screenshot. area (tuple): (upper_left_x,
module/base/utils.py:659
↓ 1 callers
Method
get_flower
收取花合战等级奖励 :return:
tasks/TalismanPass/script_task.py:45
↓ 1 callers
Method
get_next
获取下一个要执行的任务 :return:
module/config/config.py:202
↓ 1 callers
Method
get_next_task
获取下一个任务的名字, 大驼峰。 :return:
script.py:293
↓ 1 callers
Function
get_server_next_update
Args: daily_trigger (list[str], str): [ "00:00", "12:00", "18:00",] Returns: datetime.datetime
module/config/utils.py:136
↓ 1 callers
Function
get_work_path
返回程序工作的目录如果没有问题的就是根目录
module/gui/utils.py:13
↓ 1 callers
Method
git_install
(self)
deploy/git.py:81
↓ 1 callers
Method
git_repository_init
( self, repo, source='origin', branch='master', proxy='', ssl_verify=True, keep_change
deploy/git.py:21
↓ 1 callers
Method
go_back
返回, 要求这个时候是出现在 地狱鬼王的主界面 :return:
tasks/AreaBoss/script_task.py:60
↓ 1 callers
Method
goto_cards
寮结界,前往挂卡界面 :return:
tasks/KekkaiActivation/script_task.py:140
↓ 1 callers
Method
goto_souls
进入到御魂的主界面 :return:
tasks/SoulsTidy/script_task.py:30
↓ 1 callers
Method
greed_maneki
贪吃鬼和招财猫 :return:
tasks/SoulsTidy/script_task.py:55
↓ 1 callers
Method
grown_goto_utilize
从式神育成界面到 蹭卡界面 :return:
tasks/KekkaiUtilize/script_task.py:262
↓ 1 callers
Method
gui_task_list
获取给gui显示的任务列表 :return:
script.py:243
↓ 1 callers
Method
handle_night_commission
Args: daily_trigger (int): Time for commission refresh. threshold (int): Seconds around refresh time. Return
module/device/device.py:57
↓ 1 callers
Function
handle_num2title
通过句柄号返回窗口的标题,如果传入句柄号不合法则返回None :param num: :return:
module/device/handle.py:33
↓ 1 callers
Function
handle_sensitive_image
Args: image: Returns: np.ndarray:
module/handler/sensitive_info.py:10
↓ 1 callers
Function
handle_sensitive_logs
(logs)
module/handler/sensitive_info.py:39
↓ 1 callers
Function
handle_sensitive_text
Args: text (str): Returns: str:
module/handler/sensitive_info.py:26
↓ 1 callers
Method
handle_tree
生成一个窗口的句柄树 :param hwnd: :param node: :param level: :return:
module/device/handle.py:267
↓ 1 callers
Method
harvest
获得奖励 :return: 如果没有发现任何奖励后退出
tasks/Restart/login.py:110
↓ 1 callers
Method
harvest_card
收卡的经验 :return:
tasks/KekkaiActivation/script_task.py:360
↓ 1 callers
Function
highlight_text
(input_text)
module/base/log_highlighter.py:11
↓ 1 callers
Method
home_main
从庭院到活动的爬塔界面 :return:
tasks/ActivityShikigami/script_task.py:101
↓ 1 callers
Function
image_channel
Args: image (np.ndarray): Returns: int: 0 for grayscale, 3 for RGB.
module/base/utils.py:576
↓ 1 callers
Method
image_save
(self, file)
module/device/screenshot.py:184
↓ 1 callers
Method
image_show
(self, image=None)
module/device/screenshot.py:179
↓ 1 callers
Method
in_shikigami_growth
(self, screenshot=False)
tasks/Component/ReplaceShikigami/replace_shikigami.py:16
↓ 1 callers
Method
in_task
判断是否在任务的界面 :return:
tasks/TalismanPass/script_task.py:83
↓ 1 callers
Method
indexed_select
(self, *values)
module/map/map_grids.py:99
↓ 1 callers
Function
init
()
module/device/connection.py:49
↓ 1 callers
Function
init
()
module/device/method/adb.py:39
↓ 1 callers
Function
init
()
module/device/method/uiautomator_2.py:42
↓ 1 callers
Function
init
()
module/device/method/droidcast.py:43
↓ 1 callers
Function
init
()
module/device/method/minitouch.py:304
↓ 1 callers
Function
init
()
module/device/method/scrcpy/scrcpy.py:38
↓ 1 callers
Method
init_server
初始化zerorpc服务,返回端口号 :return:
script.py:114
↓ 1 callers
Method
invite_five
邀请好友,默认点五个 :return:
tasks/WantedQuests/script_task.py:233
↓ 1 callers
Function
is_admin
Check if the program is running as an admin.
module/gui/utils.py:20
↓ 1 callers
Method
is_click_file
判断是不是clickrule 文件, 我这样的判断是有点不合规的 :param data: 解析后的json数据,是list :return:
dev_tools/assets_extract.py:300
↓ 1 callers
Method
is_frog
判断是不是呱太活动 :return:
tasks/RealmRaid/script_task.py:270
↓ 1 callers
Function
is_handle_valid
输入一个句柄号,如果还在返回True :param num: :return:
module/device/handle.py:42
↓ 1 callers
Method
is_image_file
判断是不是imagerule 文件 :param data: 解析后的json数据,是list :return:
dev_tools/assets_extract.py:288
↓ 1 callers
Method
is_in_prepare
判断是否在准备中 :return:
tasks/Component/GeneralBattle/general_battle.py:378
↓ 1 callers
Method
is_list_file
:param data: :return:
dev_tools/assets_extract.py:346
↓ 1 callers
Method
is_long_click_file
判断是不是longclickrule 文件 :param data: 解析后的json数据,是list :return:
dev_tools/assets_extract.py:310
↓ 1 callers
Method
is_ocr_file
判断是不是ocr 文件 :param data: 解析后的json数据,是list :return:
dev_tools/assets_extract.py:334
↓ 1 callers
Function
is_port_in_use
检查端口是否被占用 :param ip: :param port: :return:
module/gui/context/process_manager.py:32
↓ 1 callers
Function
is_port_using
if port is using by others, return True. else return False
module/device/method/utils.py:18
↓ 1 callers
Method
is_swipe_file
判断是不是swipe rule 文件 :param data: 解析后的json数据,是list :return:
dev_tools/assets_extract.py:322
↓ 1 callers
Method
iter_process_by_name
Args: name (str): process name, such as 'alas.exe' Yields: str, str, str: executable_path, process_name, pro
deploy/process.py:20
↓ 1 callers
Method
kirin
(self)
tasks/Hunt/script_task.py:76
↓ 1 callers
Method
list_app_packages
Args: keywords: show_log: Returns: list[str]: List of package names
module/device/connection.py:806
↓ 1 callers
Method
list_package
Find all packages on device. Use dumpsys first for faster.
module/device/connection.py:786
↓ 1 callers
Method
load_image
加载图片 :return:
module/atom/image.py:58
↓ 1 callers
Function
load_module
加载模块 :param moduleName: :param moduleFile: 文件路径带py :return:
module/base/utils.py:891
↓ 1 callers
Function
log_generate_events
()
module/server/script_router.py:119
↓ 1 callers
Method
long_click_window_message
:param x: :param y: :param duration: 持续时间 单位秒 :return:
module/device/method/window.py:169
↓ 1 callers
Method
main_goto_daily
无法直接一步到花合战,需要先到主页,然后再到花合战 :return:
tasks/GameUi/game_ui.py:253
↓ 1 callers
Method
main_home
从活动的爬塔界面到庭院 :return:
tasks/ActivityShikigami/script_task.py:120
↓ 1 callers
Method
mall_resource
获取商城资源, :param index: 从左开始数 :return:
tasks/RichMan/mall/navbar.py:93
↓ 1 callers
Method
medal_fire
点击勋章 :return:
tasks/RyouToppa/script_task.py:137
↓ 1 callers
Function
merge_area
合并多个区域 :param areas: :return:
module/ocr/utils.py:11
↓ 1 callers
Method
minitouch_init
(self)
module/device/method/minitouch.py:369
↓ 1 callers
Function
move_atomic
Move ``src`` to ``dst``. There might a timewindow where both filesystem entries exist. If ``dst`` already exists, :py:exc:`FileExistsError` w
module/config/atomicwrites.py:109
↓ 1 callers
Function
name2col
Convert a cell reference in A1 notation to a zero indexed row and column. Args: col_str: A1 style string. Returns: row,
module/base/utils.py:413
↓ 1 callers
Function
nearest_future
Get the neatest future time. Return the last one if two things will finish within `interval`. Args: future (list[datetime.dateti
module/config/utils.py:212
↓ 1 callers
Method
netherworld
(self)
tasks/Hunt/script_task.py:103
↓ 1 callers
Method
next_one
切换下一个好友的商店 :return:
tasks/MysteryShop/script_task.py:45
↓ 1 callers
Method
next_run
(self)
tasks/WantedQuests/script_task.py:78
↓ 1 callers
Method
ocr_appear_click_by_rule
ocr识别目标,如果目标存在,则触发动作 :param target: :param action: :param interval: :param duration: :return:
tasks/Component/SwitchSoul/switch_soul.py:255
↓ 1 callers
Method
ocr_digit
返回数字 :param image: :return:
module/ocr/sub_ocr.py:110
↓ 1 callers
Method
ocr_digit_counter
获取计数的结果 :param image: :return: 例如 14/15,返回 (14, 1, 15) 。如果没有识别到,返回 (0, 0, 0)
module/ocr/sub_ocr.py:146
↓ 1 callers
Method
ocr_full
检测整个图片的文本,并对结果进行过滤。返回的是匹配到的keyword的左边。如果没有匹配到返回(0, 0, 0, 0) :param image: :param keyword: :return:
module/ocr/sub_ocr.py:25
↓ 1 callers
Function
parseRef
* 解析ref的最后一个Name * @param {String} ref * @returns {String}
module/gui/qml/Component/ModelParse.js:50
↓ 1 callers
Method
parse_filter
Args: string (str): Returns: list[strNone]:
module/base/filter.py:83
↓ 1 callers
Function
parse_one
(value: str)
tasks/DemonEncounter/data/extract_to_csv.py:8
↓ 1 callers
Function
parse_rule
反正不管用的是第一个 :param rule: :return:
tasks/KekkaiActivation/utils.py:11
↓ 1 callers
Function
patch_uiautomator2
uiautomator2 download assets from https://tool.appetizer.io first then fallback to https://github.com/openatx. https://tool.appetizer.io is a
deploy/patch.py:54
↓ 1 callers
Method
pip_install
(self)
deploy/pip.py:26
← previous
next →
501–600 of 1,281, ranked by callers