Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OneDragon-Anything/ZenlessZoneZero-OneDragon
/ functions
Functions
5,764 in github.com/OneDragon-Anything/ZenlessZoneZero-OneDragon
⨍
Functions
5,764
◇
Types & classes
890
↳
Endpoints
25
Method
resizeEvent
(self, event: QResizeEvent)
src/one_dragon_qt/overlay/overlay_window.py:175
Method
resizeEvent
重写窗口大小改变事件
src/zzz_od/gui/zzz_installer_window.py:30
Method
resize_norm_img_abinet
(self, img, image_shape)
src/onnxocr/predict_rec.py:247
Method
resize_norm_img_sar
(self, img, image_shape, width_downsample_ratio=0.25)
src/onnxocr/predict_rec.py:186
Method
resize_norm_img_spin
(self, img)
src/onnxocr/predict_rec.py:220
Method
resize_norm_img_svtr
(self, img, image_shape)
src/onnxocr/predict_rec.py:237
Method
resize_norm_img_vl
(self, img, image_shape)
src/onnxocr/predict_rec.py:91
Method
resonium_priority
(self)
src/zzz_od/hollow_zero/hollow_zero_challenge_config.py:77
Method
resonium_priority_str
(self)
src/zzz_od/hollow_zero/hollow_zero_challenge_config.py:85
Method
restart_confirm
(self)
src/zzz_od/operation/compendium/notorious_hunt.py:436
Method
restore_charge
(self)
src/zzz_od/operation/compendium/area_patrol.py:118
Method
restore_charge
(self)
src/zzz_od/operation/compendium/expert_challenge.py:97
Method
restore_charge
(self)
src/zzz_od/operation/compendium/combat_simulation.py:232
Method
restore_charge
(self)
src/zzz_od/operation/compendium/notorious_hunt.py:285
Method
restore_charge
(self)
src/zzz_od/operation/challenge_mission/check_next_after_battle.py:54
Method
restore_charge
(self)
src/zzz_od/application/charge_plan/charge_plan_app.py:296
Method
restore_charge
(self)
src/zzz_od/application/charge_plan/charge_plan_config.py:362
Method
resume
(self)
src/one_dragon_qt/services/pip/pip_capture_worker.py:55
Method
return_interface
返回邦巢界面
src/zzz_od/application/suibian_temple/operations/suibian_temple_boo_box.py:263
Method
right_bottom
(self)
src/one_dragon/base/matcher/match_result.py:33
Method
right_bottom
(self)
src/one_dragon/base/geometry/rectangle.py:34
Method
right_bottom
(self)
src/one_dragon/base/screen/screen_area.py:50
Method
road_mask
道路部分 中间正方形区域
src/zzz_od/application/world_patrol/mini_map_wrapper.py:84
Method
route_list
(self)
src/zzz_od/application/world_patrol/world_patrol_config.py:29
Method
route_retry_action
(self)
src/zzz_od/application/world_patrol/world_patrol_config.py:61
Method
route_retry_times
(self)
src/zzz_od/application/world_patrol/world_patrol_config.py:53
Method
run
运行 最后发送结束信号 :return:
src/one_dragon_qt/view/app_run_interface.py:37
Method
run
(self)
src/one_dragon_qt/view/code_interface.py:35
Method
run
(self)
src/one_dragon_qt/view/code_interface.py:47
Method
run
(self)
src/one_dragon_qt/view/setting/setting_env_interface.py:317
Method
run
(self)
src/one_dragon_qt/view/setting/setting_env_interface.py:332
Method
run
线程入口:若安装器目录与工作目录相同则视为已就位,否则执行清单搬运。
src/one_dragon_qt/services/unpack_runner.py:211
Method
run
(self)
src/one_dragon_qt/services/pip/pip_capture_worker.py:31
Method
run
异步加载所有banner图片
src/one_dragon_qt/widgets/notice_card.py:94
Method
run
(self)
src/one_dragon_qt/widgets/download_card/launcher_download_card.py:51
Method
run
运行 最后发送结束信号 :return:
src/one_dragon_qt/widgets/install_card/base_install_card.py:21
Method
run
运行 最后发送结束信号 :return:
src/one_dragon_qt/widgets/install_card/base_install_card.py:48
Method
run
运行 最后发送结束信号 :return:
src/one_dragon_qt/widgets/setting_card/common_download_card.py:30
Method
run
(self)
src/zzz_od/gui/app.py:43
Method
run
运行 最后发送结束信号 :return:
src/zzz_od/gui/view/world_patrol/world_patrol_route_recorder_interface.py:38
Method
run
(self)
src/zzz_od/gui/view/home/home_interface.py:133
Method
run
对图片进行识别 :param image: 使用 opencv 读取的图片 RGB通道 :param conf: 置信度阈值 :return: 识别结果
src/one_dragon/yolo/yolov8_onnx_cls.py:85
Method
run
运行启动器
src/one_dragon/launcher/launcher_base.py:30
Method
run_app
运行任务 :return:
src/one_dragon/base/operation/application/group_application.py:57
Method
run_application
同步运行指定的应用。 设置当前运行信息,创建应用实例并执行,最后清理运行状态。 Args: app_id: 应用ID instance_idx: 账号实例下标 group_i
src/one_dragon/base/operation/application/application_run_context.py:376
Method
run_application_async
异步运行指定的应用。 使用线程池在后台运行应用,不阻塞主线程。 只有在上下文处于停止状态时才能启动异步运行。 Args: app_id: 应用ID instance_idx: 账号实
src/one_dragon/base/operation/application/application_run_context.py:436
Method
run_battle
(self)
src/zzz_od/operation/compendium/notorious_hunt.py:339
Method
run_charge_plan_afterwards
咖啡后 再次挑战体力计划 @return:
src/zzz_od/application/coffee/coffee_config.py:174
Method
run_group_app
(self)
src/one_dragon/base/operation/one_dragon_app.py:76
Method
run_gui_mode
(self)
src/zzz_od/win_exe/launcher.py:15
Method
run_gui_mode
(self)
src/one_dragon/launcher/runtime_launcher.py:108
Method
run_key_sim
(self)
src/zzz_od/operation/key_sim_runner.py:39
Method
run_key_sim
(self)
src/zzz_od/application/life_on_line/life_on_line_app.py:92
Method
run_level
(self)
src/zzz_od/application/hollow_zero/lost_void/lost_void_app.py:852
Method
run_ocr_single_line
单行文本识别 手动合成一行 按匹配结果从左到右 从上到下 理论中文情况不会出现过长分行的 这里只是为了兼容英语的情况 :param image: 图片 :param threshold: 阈值 :param stric
src/one_dragon/base/matcher/ocr/onnx_ocr_matcher.py:269
Method
run_onedragon_mode
(self, launch_args)
src/zzz_od/win_exe/launcher.py:12
Method
run_onedragon_mode
(self, launch_args: list[str])
src/one_dragon/launcher/runtime_launcher.py:100
Method
run_op
执行一个个的指令 Returns:
src/zzz_od/application/world_patrol/operation/world_patrol_run_route.py:143
Method
run_operations
执行指令 :return:
src/zzz_od/application/devtools/operation_debug/operation_debug_app.py:119
Function
run_python
(app_path, no_windows: bool = True, args: list | None = None, piped: bool = False)
src/one_dragon/devtools/python_launcher.py:297
Method
run_route
(self)
src/zzz_od/application/world_patrol/world_patrol_app.py:128
Function
run_session
(session, output_names, input_feed=None, **kwargs)
src/one_dragon/utils/gpu_executor.py:65
Method
run_status_text
(self)
src/one_dragon/base/operation/application/application_run_context.py:366
Method
run_status_under_now
(self)
src/zzz_od/application/intel_board/intel_board_run_record.py:89
Method
run_status_under_now
基于当前时间显示的运行状态 :return:
src/zzz_od/application/hollow_zero/withered_domain/withered_domain_run_record.py:28
Method
run_status_under_now
基于当前时间显示的运行状态 :return:
src/zzz_od/application/hollow_zero/lost_void/lost_void_run_record.py:116
Method
run_status_under_now
(self)
src/zzz_od/application/redemption_code/redemption_code_run_record.py:58
Method
run_status_under_now
基于当前时间显示的运行状态 :return:
src/zzz_od/application/notorious_hunt/notorious_hunt_run_record.py:57
Method
run_status_under_now
基于当前时间显示的运行状态 :return:
src/zzz_od/application/shiyu_defense/shiyu_defense_run_record.py:31
Method
run_status_under_now
基于当前时间显示的运行状态 :return:
src/one_dragon/base/operation/application_run_record.py:81
Function
safe_load
Safely parse YAML via CSafeLoader when available, else SafeLoader.
src/one_dragon/utils/yaml_utils.py:10
Method
sample_codes_dict
获取 sample 配置的兑换码字典(只读)
src/zzz_od/application/redemption_code/redemption_code_config.py:34
Method
sample_ocr_result_map
创建示例OCR结果映射
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:14
Function
sav2Img
(org_img, result, name="draw_ocr.jpg")
src/onnxocr/onnx_paddleocr.py:187
Method
save_contour_as_template
将当前上下文中的某个轮廓保存为模板
src/one_dragon_qt/logic/image_analysis_logic.py:273
Function
save_debug_image
保存调试图片到文件,可选择是否同时复制到剪贴板
src/one_dragon/utils/debug_utils.py:56
Method
save_diy
按自定义的文本格式 :param text: 自定义的文本 :return:
src/one_dragon/base/config/yaml_operator.py:132
Method
save_diy
按自定义的文本格式 :param text: 自定义的文本 :return:
src/one_dragon/base/config/json_operator.py:51
Function
save_image
保存图片 :param img: RBG格式的图片 :param file_path: 保存路径
src/one_dragon/utils/cv2_utils.py:43
Method
save_pipeline
将流水线保存到文件 :param name: 流水线名称 :param pipeline: 流水线实例
src/one_dragon/base/cv_process/cv_service.py:194
Function
scale_image
按比例缩放图片 :param img: 原图 :param scale: 缩放比例 :param copy: 是否复制新图 :return: 缩放后图片
src/one_dragon/utils/cv2_utils.py:796
Function
scale_image_for_high_dpi
对已有的QImage进行高DPI缩放处理。 :param image: 原始QImage对象 :param target_size: 目标逻辑尺寸 :param pixel_ratio: 设备像素比 :param aspect_ratio_mode: 纵横
src/one_dragon_qt/utils/image_utils.py:61
Function
scale_input_image_u
按照 ultralytics 的方式,将图片缩放至模型使用的大小 参考 https://github.com/orgs/ultralytics/discussions/6994?sort=new#discussioncomment-8382661 :param image:
src/one_dragon/yolo/onnx_utils.py:8
Method
scan_failures
获取最近一次扫描的失败记录
src/one_dragon/base/operation/application/application_factory_manager.py:75
Method
score
(self)
src/zzz_od/application/shiyu_defense/shiyu_defense_team_utils.py:56
Method
scratch
(self)
src/zzz_od/application/scratch_card/scratch_card_app.py:98
Method
screen_size
(self)
src/one_dragon/base/config/basic_game_config.py:65
Method
screenshot
截图并保存在内存中
src/one_dragon/base/controller/controller_base.py:59
Method
screenshot_before_key
(self)
src/zzz_od/application/devtools/screenshot_helper/screenshot_helper_config.py:47
Method
screenshot_interval
(self)
src/zzz_od/application/battle_assistant/battle_assistant_config.py:19
Method
screenshot_method
截图方法
src/one_dragon/envs/env_config.py:381
Method
scrollNext
(self)
src/one_dragon_qt/widgets/notice_card.py:673
Function
scroll_area
在指定区域内滚动屏幕 Args: ctx: 运行上下文 area: 区域 direction: 滚动方向,'down' 表示往下滚(从下往上滑),'up' 表示往上滚(从上往下滑) start_ratio: 起始位置
src/one_dragon/base/screen/screen_utils.py:290
Method
search_entry
(self, entry_name: str)
src/zzz_od/hollow_zero/hollow_map/hollow_zero_map.py:73
Function
search_map
对当前地图进行搜索 获取前往每个节点的路径 :param current_map: 识别到的地图信息 :param: avoid_entry_list: 避免途经点 :param: visited_nodes: 已经去过的节点 这些在后续再经过时不需要步数
src/zzz_od/hollow_zero/hollow_map/hollow_pathfinding.py:10
Method
search_tp_icon_loop
传送点搜索主循环: 原子化交互与导航策略: 1. 侦察 - 寻找当前画面内所有可见的传送点图标 2. 决策点 - 根据画面内是否有图标选择行动 3. 交互与识别 - 点击一个图标并识别其名称 4. 导航
src/zzz_od/application/world_patrol/operation/transport_by_3d_map.py:194
Method
select_charge_source
(self)
src/zzz_od/operation/restore_charge.py:102
Method
select_expert_challenge
(self)
src/zzz_od/application/intel_board/intel_board_app.py:114
Method
select_notorious_hunt
(self)
src/zzz_od/application/intel_board/intel_board_app.py:107
Method
selected
(self)
src/one_dragon_qt/widgets/selectable_app_list.py:70
← previous
next →
5,301–5,400 of 5,764, ranked by callers