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
notifier
(self)
module/config/config.py:358
Function
notify_test
(setting: str, title: str, content: str)
module/server/home_router.py:27
Method
ocr_item
这个函数区别于ocr_single_line,这个函数不对图片进行裁剪,是什么就是什么的 :param image: :return:
module/ocr/base_ocr.py:119
Function
on_connect
(client, userdata, flags, rc)
module/team_flow/mqtt_test.py:17
Method
on_connect
(client, userdata, flags, rc)
module/team_flow/mqtt.py:33
Method
on_first_notice
(self, player: str, data: dict)
module/team_flow/host.py:48
Method
on_last_will
(self, player: str, data: dict)
module/team_flow/host.py:57
Function
on_message
(client, userdata, msg)
module/team_flow/mqtt.py:18
Function
on_message
(client, userdata, msg)
module/team_flow/mqtt_test.py:32
Function
on_message
(client, userdata, msg)
module/team_flow/host.py:17
Method
on_strategy
(self, player: str, data: dict)
module/team_flow/host.py:71
Method
on_task_start
(self, player: str, data: dict)
module/team_flow/host.py:68
Method
options
(self)
module/logger.py:120
Method
order_cards
(self)
tasks/KekkaiUtilize/script_task.py:323
Method
order_cards
(self)
tasks/KekkaiActivation/script_task.py:78
Method
order_medal
(self)
tasks/RealmRaid/script_task.py:307
Method
order_targets
(self)
tasks/KekkaiUtilize/script_task.py:307
Method
order_targets
(self)
tasks/KekkaiActivation/script_task.py:84
Method
paint
(self, painter: QPainter)
module/gui/register_type/paint_image.py:21
Function
parseArgument
* 解析出某个group的参数组, * @param {Object} definitions * @param {string} group * @returns {Array} -
module/gui/qml/Component/ModelParse.js:61
Function
parseGroup
* 解析出group的数组, * @param {Object} data.properties * @returns {Array} 类似这样:[Device,Error,Optimization]
module/gui/qml/Component/ModelParse.js:13
Function
parseGroups
* 解析出group一一对应的的数组, * @param {Object} data.properties * @returns {Object} 类似这样:{"Device":"device", "Error":"error", "Optimization":"optimization"}
module/gui/qml/Component/ModelParse.js:31
Method
parse_interval
(cls, value)
tasks/Component/config_scheduler.py:30
Method
parse_limit_time
(cls, value)
tasks/Component/BaseActivity/config_activity.py:33
Method
parse_next_run
(cls, value)
tasks/Component/config_scheduler.py:21
Method
partition
(self)
tasks/RealmRaid/script_task.py:329
Function
past_time
Args: string (str): Such as 14:59. Returns: datetime.datetime: Time with given hour, minute in the past.
module/base/timer.py:38
Method
pip
(self)
deploy/pip.py:23
Method
potential_roadblocks
Returns: SelectedGrids:
module/map/map_grids.py:333
Method
process_folder
(self)
deploy/process.py:10
Method
properties_groups
(sch)
module/config/config_model.py:284
Method
python
(self)
deploy/pip.py:12
Function
qCleanupResources
()
module/gui/res_rcc.py:42916
Function
qCleanupResources
()
module/gui/qml_rc.py:3631
Function
qCleanupResources
()
module/gui/qml_rcc.py:1468
Function
qCleanupResources
()
module/gui/res_rc.py:42916
Function
random_rectangle_vector
Place a vector in a box randomly. Args: vector: (x, y) box: (upper_left_x, upper_left_y, bottom_right_x, bottom_right_y).
module/base/utils.py:46
Method
reached_and_reset
Returns: bool:
module/base/timer.py:138
Method
read_file
读取json文件,如果不存在则创建 :param file: 包含路径 :return:
module/gui/register_type/rule_file.py:21
Method
read_file
Read and update config file. Args: config_name (str): ./config/{file}.json is_template (bool): Retu
module/config/config_updater.py:37
Function
red_overlay_transparency
Calculate the transparency of red overlay. Args: color1: origin color. color2: changed color. red(int): red color 0-255.
module/base/utils.py:840
Method
remove
remove :param config: :return:
module/gui/context/process_manager.py:127
Method
requirements_file
(self)
deploy/pip.py:16
Method
reset_game_max
(cls, value)
tasks/Component/BaseActivity/config_activity.py:52
Function
resize
Resize image like pillow image.resize(), but implement in opencv. Pillow uses PIL.Image.NEAREST by default. Args: image (np.ndar
module/base/utils.py:561
Method
resolution
(self)
module/device/method/scrcpy/control.py:44
Method
restart_all
restart_all :return:
module/gui/context/process_manager.py:184
Method
result
(self)
dev_tools/assets_extract.py:59
Method
result
(self)
dev_tools/assets_extract.py:90
Method
result
(self)
dev_tools/assets_extract.py:118
Method
result
(self)
dev_tools/assets_extract.py:147
Method
result
(self)
dev_tools/assets_extract.py:175
Method
result
(self)
dev_tools/assets_extract.py:212
Function
retry
(func)
module/device/connection.py:28
Function
retry
(func)
module/device/method/adb.py:18
Function
retry
(func)
module/device/method/uiautomator_2.py:21
Function
retry
(func)
module/device/method/droidcast.py:22
Function
retry
(func)
module/device/method/minitouch.py:283
Function
retry
(func)
module/device/method/scrcpy/scrcpy.py:17
Function
retry_wrapper
Args: self (Adb):
module/device/connection.py:30
Function
retry_wrapper
Args: self (Adb):
module/device/method/adb.py:20
Function
retry_wrapper
Args: self (Uiautomator2):
module/device/method/uiautomator_2.py:23
Function
retry_wrapper
Args: self (Adb):
module/device/method/droidcast.py:24
Function
retry_wrapper
Args: self (Minitouch):
module/device/method/minitouch.py:285
Function
retry_wrapper
Args: self (Minitouch):
module/device/method/scrcpy/scrcpy.py:19
Method
reverse_server
Setup a server on Alas, access it from emulator. This will bypass adb shell and be faster.
module/device/connection.py:304
Function
rgb2gray
Args: image (np.ndarray): Shape (height, width, channel) Returns: np.ndarray: Shape (height, width)
module/base/utils.py:599
Function
rgb2hsv
Convert RGB color space to HSV color space. HSV is Hue Saturation Value. Args: image (np.ndarray): Shape (height, width, channel
module/base/utils.py:614
Function
rgb2luma
Convert RGB to the Y channel (Luminance) in YUV color space. Args: image (np.ndarray): Shape (height, width, channel) Returns:
module/base/utils.py:644
Function
rgb2yuv
Convert RGB to YUV color space. Args: image (np.ndarray): Shape (height, width, channel) Returns: np.ndarray: Shape (he
module/base/utils.py:630
Method
roadblocks
Returns: SelectedGrids:
module/map/map_grids.py:322
Method
room_type
只需要在队长进入的时候判断一次就可以了,任务后面之间使用 :return:
tasks/Component/GeneralInvite/general_invite.py:196
Method
root
Returns: str: Root installation folder of emulator. Raises: FileNotFoundError: If emulator not installed.
deploy/emulator.py:35
Method
root
(self)
module/device/emulator.py:69
Method
root_filepath
(self)
deploy/config.py:118
Method
rotate_device
Rotate device
module/device/method/scrcpy/control.py:202
Method
rotation_check
()
tasks/GameUi/game_ui.py:102
Function
rule
(title="", *, characters="─", style="rule.line", end="\n", align="center")
module/logger.py:312
Method
run
run :return:
module/gui/process/script_process.py:37
Method
run
(self)
module/daemon/benchmark.py:200
Method
run
(self)
tasks/WeeklyTrifles/script_task.py:17
Method
run
(self)
tasks/DemonEncounter/script_task.py:32
Method
run
(self)
tasks/Component/BaseActivity/base_activity.py:9
Method
run
(self)
tasks/EvoZone/script_task.py:20
Method
run
(self)
tasks/GotoMain/script_task.py:12
Method
run
主要就是登录的模块 :return:
tasks/Restart/script_task.py:19
Method
run
(self)
tasks/DailyTrifles/script_task.py:22
Method
run
(self)
tasks/FallenSun/script_task.py:21
Method
run_auto
()
tasks/KekkaiActivation/script_task.py:208
Method
run_guild_wish
(self)
tasks/DailyTrifles/script_task.py:41
Function
run_once
Run a function only once, no matter how many times it has been called. Examples: @run_once def my_function(foo, bar):
module/base/decorator.py:174
Method
run_true_orochi
(self)
tasks/TrueOrochi/script_task.py:173
Method
save_screenshot
Save a screenshot. Use millisecond timestamp as file name. Args: genre (str, optional): Screenshot type. interval (in
module/device/screenshot.py:109
Method
save_target_image
保存目标图片 :param file: 保存的文件名 :param roi: 截图的范围 文本如"0,0,100,100" :return:
module/gui/register_type/paint_image.py:55
Method
screenshot_adb
(self)
module/device/method/adb.py:153
Method
screenshot_deque
(self)
module/device/screenshot.py:105
Method
screenshot_droidcast
(self)
module/device/method/droidcast.py:178
Method
screenshot_droidcast_raw
(self)
module/device/method/droidcast.py:198
Method
screenshot_handle_num
截屏的句柄其实并不是根句柄 :return: 出错返回None
module/device/handle.py:326
Method
screenshot_last_save_time_reset
(self, genre)
module/device/screenshot.py:141
← previous
next →
1,101–1,200 of 1,281, ranked by callers