MCPcopy Create free account

hub / github.com/runhey/OnmyojiAutoScript / functions

Functions1,281 in github.com/runhey/OnmyojiAutoScript

↓ 1 callersMethodsimulation
:param start:开始点的坐标 如 start = [0, 0] :param end:结束点的坐标 如 end = [100, 100] :param le:几阶贝塞尔曲线,越大越复杂 如 le = 4 :param de
module/atom/cBezier.py:75
↓ 1 callersMethodsimulation
:param start:开始点的坐标 如 start = [0, 0] :param end:结束点的坐标 如 end = [100, 100] :param le:几阶贝塞尔曲线,越大越复杂 如 le = 4 :param de
module/base/cBezier.py:76
↓ 1 callersFunctionstart_log
()
module/server/script_process.py:118
↓ 1 callersMethodstart_log
启动某个脚本实例config_name的log: 具体为创建一个queue信息队列,然后创建一个log线程,将queue传入log线程 :param config_name: :return:
module/gui/context/process_manager.py:366
↓ 1 callersMethodstart_log
:return:
module/gui/process/script_process.py:71
↓ 1 callersMethodstart_loop
创建一个线程,运行loop :return:
script.py:474
↓ 1 callersMethodstart_ryou_toppa
开启寮突破 :return:
tasks/RyouToppa/script_task.py:94
↓ 1 callersMethodstart_update_tasks
启动更新任务的线程 :return:
module/gui/context/process_manager.py:412
↓ 1 callersMethodstart_watching
(self)
module/config/config_watcher.py:20
↓ 1 callersFunctionstate_generate_events
()
module/server/script_router.py:104
↓ 1 callersMethodstuck_record_check
Raises: GameStuckError:
module/device/device.py:117
↓ 1 callersMethodsummon
召唤, 就是随机画一个, 划线 :return:
tasks/Component/Summon/summon.py:16
↓ 1 callersMethodsummon_one
确保在召唤界面,每日召唤一次 召唤结束后回到 召唤主界面 :return:
tasks/Component/Summon/summon.py:34
↓ 1 callersMethodswipe
(self, p1, p2, duration=(0.1, 0.2), control_name='SWIPE', distance_check=True)
module/device/control.py:152
↓ 1 callersMethodswipe
Swipe on screen Args: start_x: start horizontal position start_y: start vertical position end_x:
module/device/method/scrcpy/control.py:208
↓ 1 callersMethodswipe_minitouch
(self, p1, p2)
module/device/method/minitouch.py:538
↓ 1 callersMethodswipe_scrcpy
(self, p1, p2)
module/device/method/scrcpy/scrcpy.py:114
↓ 1 callersMethodswipe_uiautomator2
(self, p1, p2, duration=0.1)
module/device/method/uiautomator_2.py:142
↓ 1 callersMethodswipe_window_message
后台滑动 :param startPos: :param endPos: :return:
module/device/method/window.py:203
↓ 1 callersMethodswitch_all_soul
一键切换所有御魂 :return:
tasks/Duel/script_task.py:66
↓ 1 callersMethodswitch_friend_list
切换不同的服务区 :param friend: :return:
tasks/KekkaiUtilize/script_task.py:282
↓ 1 callersMethodswitch_preset_team
切换预设的队伍, 要求是在不锁定队伍时的情况下 :param enable: :param preset_group: :param preset_team: :return:
tasks/Component/GeneralBattle/general_battle.py:274
↓ 1 callersMethodswitch_soul_one
设置一个队伍的预设御魂 :param group: 只能是[1-7] :param team: 只能是[1-4] :return:
tasks/Component/SwitchSoul/switch_soul.py:61
↓ 1 callersMethodswitch_souls
切换御魂 :param target: [(1, 1), (2, 2), (3, 3), (4, 4)] 或者是单独的一个元组(4, 4) 第一个是组, 第二个是队伍 :return:
tasks/Component/SwitchSoul/switch_soul.py:131
↓ 1 callersMethodsync
responsible for clearing as many file caches as possible before commit
module/config/atomicwrites.py:203
↓ 1 callersFunctiont_diff
计算两个任务之间的时间差 :param before: :param after: :return: 单位是秒
module/team_flow/task.py:105
↓ 1 callersFunctiontarget_to_card_class
从匹配到的一张图片中获取卡片的类别 !!! 这个取绝于 assets.py 中的 assets 所以请不要修改 :param target: :return:
tasks/KekkaiUtilize/utils.py:74
↓ 1 callersMethodtargets_check
检查输入的图片名是缓存有 :param targets: :return:
module/atom/list.py:119
↓ 1 callersFunctiontest_memory
()
module/ocr/models.py:24
↓ 1 callersFunctiontest_memory
()
tasks/Orochi/script_task.py:492
↓ 1 callersFunctiontest_memory
()
tasks/EvoZone/script_task.py:354
↓ 1 callersFunctiontest_memory
()
tasks/FallenSun/script_task.py:332
↓ 1 callersFunctionto_int
(item)
module/base/utils.py:185
↓ 1 callersFunctionto_server
Convert package/server to server. To unknown packages, consider they are a CN channel servers.
module/config/server.py:72
↓ 1 callersMethodtt_buy_ap
(self)
tasks/RichMan/thousand_things.py:96
↓ 1 callersMethodtt_buy_black_daruma_scrap
(self)
tasks/RichMan/thousand_things.py:77
↓ 1 callersMethodtt_buy_mystery_amulet
:return: 成功购买返回True,找不到或者是钱不够返回False
tasks/RichMan/thousand_things.py:53
↓ 1 callersMethodui_button_interval_reset
Reset interval of some button to avoid mistaken clicks Args: button (Button):
tasks/GameUi/game_ui.py:152
↓ 1 callersMethodui_page_appear
判断当前页面是否为page
tasks/GameUi/game_ui.py:66
↓ 1 callersMethodunset_shikigami_max_lv
要求在式神育成的界面 拉下满级的式神,留空位置 :return:
tasks/Component/ReplaceShikigami/replace_shikigami.py:57
↓ 1 callersMethodupdate_info
(self, next_run: datetime, limit_time: time, limit
module/team_flow/task.py:29
↓ 1 callersMethodwrite_file
将自身的_resule写入文件 :return:
dev_tools/assets_extract.py:357
MethodStrategy
(self, msg)
module/team_flow/mqtt.py:112
MethodTaskStart
(self, msg)
module/team_flow/mqtt.py:109
Method__bool__
(self)
module/atom/image.py:53
Method__bool__
(self)
module/map/map_grids.py:29
Method__bool__
(self)
module/device/connection.py:87
Method__bool__
(self)
module/device/method/utils.py:301
Method__contains__
(self, item)
module/map/map_grids.py:19
Method__eq__
(self, other)
module/atom/image.py:47
Method__eq__
(self, other)
module/config/config.py:71
Method__eq__
(self, other)
tasks/GameUi/page.py:18
Method__get__
(self, obj, cls)
deploy/utils.py:25
Method__get__
(self, obj, cls)
module/base/decorator.py:99
Method__get__
(self, instance, cls=None)
module/server/setting.py:41
Method__get_validators__
(cls)
tasks/Component/config_base.py:64
Method__getattr__
一开始是打算直接继承ConfigModel的,但是pydantic会接管所有的变量 故而选择持有ConfigModel :param name: :return:
module/config/config.py:109
Method__getitem__
(self, item)
module/map/map_grids.py:13
Method__hash__
(self)
module/atom/image.py:50
Method__hash__
(self)
tasks/GameUi/page.py:21
Method__init__
(self, config_name: str ='oas')
script.py:36
Method__init__
Args: file (str): User deploy config.
deploy/config.py:68
Method__init__
(self, func: Callable[..., T])
deploy/utils.py:22
Method__init__
Args: name (str): Emulator name in windows uninstall list. root_path (str): Relative path from uninstall.exe to emula
deploy/emulator.py:19
Method__init__
(self, adb='adb.exe')
deploy/emulator.py:239
Method__init__
(self, *args, func: Callable[[ConsoleRenderable], None] = None, **kwargs)
module/logger.py:132
Method__init__
初始化 :param folder: :param direction: :param mode: :param roi_back: :param size: :param array:
module/atom/list.py:19
Method__init__
初始化 :param roi_front: 前置roi :param roi_back: 后置roi 用于匹配的区域 :param method: 匹配方法 "Template matching" :param thr
module/atom/image.py:15
Method__init__
初始化 :param roi_front: :param roi_back: :param duration:
module/atom/long_click.py:13
Method__init__
初始化 :param roi_front: :param roi_back:
module/atom/click.py:11
Method__init__
初始化 :param roi_front: :param roi_back: :param mode:
module/atom/swipe.py:16
Method__init__
(self, *args, **kwargs)
module/atom/ocr.py:16
Method__init__
(self, images: list[RuleImage])
module/atom/image_grid.py:12
Method__init__
:param name: :param mode: :param method: :param roi: :param area: :param keyword:
module/ocr/base_ocr.py:59
Method__init__
( self, use_angle_cls=False, box_thresh=0.6, unclip_ratio=1.6,
module/ocr/ppocr.py:5
Method__init__
(self, func: Callable[..., T])
module/base/decorator.py:96
Method__init__
Args: regex: Regular expression. attr: Attribute name. preset: Build-in string preset.
module/base/filter.py:7
Method__init__
Args: limit (int, float): Timer limit count (int): Timer reach confirm count. Default to 0. When usin
module/base/timer.py:78
Method__init__
(self, grids)
module/map/map_grids.py:6
Method__init__
Args: grids (list):
module/map/map_grids.py:307
Method__init__
Args: config (AzurLaneConfig, str): Name of the user config under ./config
module/device/connection_attr.py:26
Method__init__
(self, client: AdbClient, serial: str, status: str)
module/device/connection.py:78
Method__init__
(self, name, num, parent=None)
module/device/handle.py:77
Method__init__
(self, *args, **kwargs)
module/device/screenshot.py:29
Method__init__
Args: name (str): Emulator name in windows uninstall list. root_path (str): Relative path from uninstall.exe to emula
module/device/emulator.py:18
Method__init__
(self, *args, **kwargs)
module/device/device.py:32
Method__init__
(self, hierarchy: etree._Element, xpath: str)
module/device/method/utils.py:267
Method__init__
See https://github.com/openstf/minitouch#writable-to-the-socket Args: operation: c, r, d, m, u, w contact:
module/device/method/minitouch.py:97
Method__init__
Args: device:
module/device/method/minitouch.py:188
Method__init__
(self, name, u2obj)
module/device/method/minitouch.py:277
Method__init__
(self, *args, **kwargs)
module/device/method/window.py:34
Method__init__
(self, parent)
module/device/method/scrcpy/control.py:32
Method__init__
(self)
module/gui/fluent_app.py:25
Method__init__
(self, engine, app)
module/gui/fluent_app.py:79
Method__init__
(self)
module/gui/Bridge.py:8
Method__init__
(self)
module/gui/context/utils.py:14
Method__init__
(self)
module/gui/context/add.py:15
Method__init__
init
module/gui/context/process_manager.py:61
Method__init__
(self)
module/gui/register_type/rule_file.py:17
Method__init__
(self, parent=None)
module/gui/register_type/paint_image.py:17
← previousnext →701–800 of 1,281, ranked by callers