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
↓ 1 callers
Method
get_left_widget
返回左侧内容控件,由子类实现。
src/one_dragon_qt/view/app_run_interface.py:252
↓ 1 callers
Method
get_links_widget
创建并返回底部的横向链接按钮行(不带标题)
src/one_dragon_qt/view/source_config_interface.py:133
↓ 1 callers
Method
get_live_data
获取直播数据
tools/ci/update_redemption_code.py:76
↓ 1 callers
Function
get_local_package_names
获取本地包名 基于实际扫描的目录
deploy/generate_module_manifest.py:39
↓ 1 callers
Function
get_log_formatter
()
src/one_dragon/utils/log_utils.py:32
↓ 1 callers
Function
get_logger
获取框架默认 logger。 若尚未初始化,则按默认配置初始化一次;若已经存在框架默认 handler,则直接复用。
src/one_dragon/utils/log_utils.py:148
↓ 1 callers
Function
get_logger
()
src/one_dragon/yolo/log_utils.py:7
↓ 1 callers
Function
get_lost_void_challenge_new_name
获取新的配置文件的命名 :return:
src/zzz_od/application/hollow_zero/lost_void/lost_void_challenge_config.py:322
↓ 1 callers
Function
get_lost_void_det_opts
获取迷失之地识别模型的选项 :return:
src/zzz_od/config/model_config.py:186
↓ 1 callers
Method
get_lost_void_mission_name_list
迷失之地的关卡名称列表 :return:
src/zzz_od/game_data/compendium.py:331
↓ 1 callers
Function
get_map_image
获取地图图片 已验证米游社的图片和真实游戏的有差异 :param image_url: 图片链接 :param resize: 缩放比例 :return: 地图图片
src/zzz_od/application/devtools/large_map_recorder/large_map_downloader.py:17
↓ 1 callers
Function
get_match_screen_name_from_last
根据游戏截图 从上次记录的画面开始 匹配一个最合适的画面 Args: ctx: 上下文 screen: 游戏截图 crop_first: 在传入区域时 是否先裁剪再进行文本识别 Returns: str |
src/one_dragon/base/screen/screen_utils.py:369
↓ 1 callers
Method
get_max_corr
计算两个音频信号的最大相关性。 :param x: 音频信号x :param y: 音频信号y :return: 最大相关性系数
src/zzz_od/auto_battle/auto_battle_dodge_context.py:299
↓ 1 callers
Function
get_minarea_rect_crop
(img, points)
src/onnxocr/utils.py:57
↓ 1 callers
Function
get_mini_map_circle_mask
Args: d: 直径 Returns: MatLike: 圆形区域的掩码
src/zzz_od/application/devtools/large_map_recorder/large_map_recorder_utils.py:17
↓ 1 callers
Method
get_mission_data
(self, tab_name: str, category_name: str, mission_type_name: str, mission_name: str)
src/zzz_od/game_data/compendium.py:196
↓ 1 callers
Function
get_model_category_dir
(category: str)
src/one_dragon/utils/yolo_config_utils.py:8
↓ 1 callers
Function
get_mouse_button
(key: str)
src/one_dragon/base/controller/pc_button/pc_button_utils.py:51
↓ 1 callers
Function
get_mouse_sensitivity
获取鼠标灵敏度。
src/one_dragon/base/controller/pc_controller_base.py:560
↓ 1 callers
Function
get_multi_room_config
获取多间模式节点配置
src/zzz_od/application/shiyu_defense/shiyu_defense_config.py:37
↓ 1 callers
Method
get_name_text_click_target_list
(self, screen: MatLike)
src/zzz_od/application/hollow_zero/lost_void/operation/interact/lost_void_choose_common.py:339
↓ 1 callers
Method
get_next_plan
获取下一个未完成的计划任务(跳过 skipped 的计划)。 如果提供了 last_tried_plan,则从该任务之后开始查找。 如果未提供,则从列表的开头查找第一个未完成任务。 Args: last_tri
src/zzz_od/application/charge_plan/charge_plan_config.py:211
↓ 1 callers
Method
get_next_plan
获取下一个未完成且未被跳过的计划。 Args: last_tried_plan: 上次尝试的计划。为 None 时从列表开头查找; 否则从该计划之后的位置起查找,到列表末尾返回 None(不回卷)。
src/zzz_od/application/notorious_hunt/notorious_hunt_config.py:158
↓ 1 callers
Method
get_next_route_idx
获取指定区域的下一个路线索引
src/zzz_od/application/world_patrol/world_patrol_service.py:294
↓ 1 callers
Method
get_no_battle_list
不包含战斗的类型 @return:
src/zzz_od/hollow_zero/hollow_zero_data_service.py:310
↓ 1 callers
Method
get_notorious_hunt_plan_mission_type_list
(self, category_name: str)
src/zzz_od/game_data/compendium.py:256
↓ 1 callers
Function
get_ocr_opts
()
src/one_dragon/base/config/basic_model_config.py:42
↓ 1 callers
Method
get_only_boss_go_in_1_step_entry_list
速通模式的一步可达前往的格子类型 :return:
src/zzz_od/hollow_zero/hollow_zero_data_service.py:272
↓ 1 callers
Method
get_only_boss_waypoint_entry_list
速通模式的途径点类型 :return:
src/zzz_od/hollow_zero/hollow_zero_data_service.py:292
↓ 1 callers
Function
get_operation_template_config_list
获取用于配置页面显示的指令列表,支持子目录。 :return: 配置页面的选项列表
src/zzz_od/application/battle_assistant/operation_template_config.py:7
↓ 1 callers
Function
get_or_create_logger
获取指定名称的 logger。 - 若框架尚未为该 logger 挂载默认 handler,则按给定配置初始化 - 若已初始化过,则直接复用 - 不会因为外部额外挂载了 handler 而跳过框架默认配置
src/one_dragon/utils/log_utils.py:54
↓ 1 callers
Method
get_os_uv_path
获取当前系统环境变量中的uv路径 :return:
src/one_dragon/envs/python_service.py:180
↓ 1 callers
Method
get_output_details
(self)
src/one_dragon/yolo/onnx_model_loader.py:174
↓ 1 callers
Function
get_overlap_rect
根据模板图在原图上的偏移量 计算出覆盖区域 :param source: 原图 :param template: 模板图 缩放后 :param x: 偏移量 :param y: 偏移量 :return:
src/one_dragon/utils/cv2_utils.py:738
↓ 1 callers
Method
get_panel_appearance
(self, panel_name: str)
src/one_dragon_qt/overlay/overlay_config.py:527
↓ 1 callers
Function
get_path_under_work_dir
获取当前工作目录下的子目录路径 :param sub_paths: 子目录路径 可以传入多个表示多级 :return: 拼接后的子目录路径
src/one_dragon/utils/os_utils.py:25
↓ 1 callers
Method
get_pipeline_code
生成整个流水线的代码
src/one_dragon_qt/logic/image_analysis_logic.py:211
↓ 1 callers
Method
get_pipeline_names
(self)
src/one_dragon_qt/logic/image_analysis_logic.py:219
↓ 1 callers
Method
get_pos_by_avatar
根据头像匹配 @param screen: 游戏画面 @param target_agent_name: 需要选择的代理人名称 @return:
src/zzz_od/application/random_play/random_play_app.py:208
↓ 1 callers
Function
get_process_dpi_awareness
()
src/one_dragon_qt/overlay/utils/win32_utils.py:86
↓ 1 callers
Method
get_python_version
:return: 当前使用的python版本
src/one_dragon/envs/python_service.py:207
↓ 1 callers
Method
get_regular_procurement_pos
识别获取画面上的任务 Args: screen: 游戏画面 Returns: list[RegularProcurementPos]: 任务列表
src/zzz_od/application/suibian_temple/operations/suibian_temple_yum_cha_sin.py:178
↓ 1 callers
Method
get_route_last_pos
获取路线的最后一个点坐标 Args: route: 路线 Returns: Point: 最后一个点坐标
src/zzz_od/application/world_patrol/world_patrol_service.py:439
↓ 1 callers
Method
get_route_tp_icon
获取路线的传送点 Args: route: 路线 Returns: WorldPatrolLargeMapIcon: 传送点
src/zzz_od/application/world_patrol/world_patrol_service.py:393
↓ 1 callers
Method
get_run_record
获取运行记录实例。 通过已注册的工厂获取指定参数的应用运行记录。 Args: app_id: 应用ID 为空时使用当前运行的 instance_idx: 账号实例下标 为空时使用当前运行的
src/one_dragon/base/operation/application/application_run_context.py:240
↓ 1 callers
Method
get_same_as_last_target
从本次结果中 选择与上一次位置最接近 @param entry_list: @return:
src/zzz_od/application/hollow_zero/lost_void/operation/lost_void_move_by_det.py:712
↓ 1 callers
Method
get_same_category_mission_type_list
获取与副本相同分类的全部列表
src/zzz_od/game_data/compendium.py:244
↓ 1 callers
Method
get_screen_image_to_display
获取用于开发工具显示的图片 :return:
src/one_dragon/base/screen/template_info.py:344
↓ 1 callers
Method
get_screen_names
获取所有画面的名称,用于UI下拉框
src/one_dragon_qt/logic/image_analysis_logic.py:249
↓ 1 callers
Method
get_selected_ids
(self)
src/one_dragon_qt/view/standalone_app_run_interface.py:213
↓ 1 callers
Method
get_selected_items
获取当前选中的 ConfigItem 对象列表
src/one_dragon_qt/widgets/multi_selection_combo_box.py:382
↓ 1 callers
Function
get_src_roots
获取需要扫描的源码目录 自动扫描 src/ 下所有一级子文件夹
deploy/generate_module_manifest.py:22
↓ 1 callers
Method
get_target_team_idx_by_priority
根据当前识别的优先代理人 选择最合适的预备编队 :return:
src/zzz_od/application/hollow_zero/lost_void/lost_void_app.py:805
↓ 1 callers
Function
get_template_config_path
模板配置文件的路径 :param sub_dir: 模板分类 :param template_id: 模板id :return:
src/one_dragon/base/screen/template_info.py:633
↓ 1 callers
Method
get_template_content
获取完整模板内容供父组件使用
src/one_dragon_qt/widgets/setting_card/code_editor_setting_card.py:93
↓ 1 callers
Method
get_template_info_list
获取所有模板的信息
src/one_dragon_qt/logic/image_analysis_logic.py:267
↓ 1 callers
Method
get_template_merge_to_display
获取用于开发工具显示的模板抠图 :return:
src/one_dragon/base/screen/template_info.py:324
↓ 1 callers
Method
get_template_name
(self)
src/one_dragon/base/conditional_operation/loader.py:210
↓ 1 callers
Method
get_template_reversed_merge_to_display
获取用于开发工具显示的反向抠图 :return:
src/one_dragon/base/screen/template_info.py:333
↓ 1 callers
Function
get_template_root_dir_path
模板文件夹的根目录 :return:
src/one_dragon/base/screen/template_info.py:551
↓ 1 callers
Function
get_template_sub_dir_path
模板文件夹的分类目录 :return:
src/one_dragon/base/screen/template_info.py:560
↓ 1 callers
Method
get_text_width
获取标签文本的实际宽度(使用 QFontMetrics 精确计算) 注意: 1. 不使用 sizeHint() 的原因是,标签刚创建时样式表可能未完全应用, sizeHint() 会基于默认字体计算,导致宽度不准确。 2. 使用
src/one_dragon_qt/widgets/multi_selection_combo_box.py:89
↓ 1 callers
Function
get_top_package
获取模块的顶级包名
deploy/generate_module_manifest.py:47
↓ 1 callers
Function
get_translations
加载语言 :param model: 模块 将ocr 界面 日志等翻译区分开来 :param lang: 语言 :return:
src/one_dragon/utils/i18_utils.py:30
↓ 1 callers
Method
get_variables
获取所有变量配置
src/one_dragon_qt/widgets/setting_card/code_editor_setting_card.py:48
↓ 1 callers
Method
get_visible_targets
获取当前画面里可用于卡住判断的全部目标
src/zzz_od/application/hollow_zero/lost_void/operation/lost_void_move_by_det.py:472
↓ 1 callers
Method
get_widget_at_bottom
(self)
src/one_dragon_qt/view/app_run_interface.py:137
↓ 1 callers
Method
get_widget_at_top
(self)
src/one_dragon_qt/view/app_run_interface.py:134
↓ 1 callers
Function
get_windows_build
()
src/one_dragon_qt/overlay/utils/win32_utils.py:76
↓ 1 callers
Method
get_world_patrol_routes
获取所有路线
src/zzz_od/application/world_patrol/world_patrol_service.py:245
↓ 1 callers
Method
handle_init
(self)
src/zzz_od/operation/back_to_normal_world.py:34
↓ 1 callers
Method
handle_init
处理执行前的初始化。 此方法应由子类实现以进行自定义初始化。 注意:初始化应该全面,以便操作可以重复使用。
src/one_dragon/base/operation/operation.py:382
↓ 1 callers
Method
handle_move
处理移动指令的核心逻辑
src/zzz_od/application/world_patrol/operation/world_patrol_run_route.py:164
↓ 1 callers
Method
handle_not_in_world
处理不在大世界的情况 - 可能是进入新一层的时候 识别到里感叹号之类的 然后触发了获得战利品的效果 进入了选择 :param screen: :return:
src/zzz_od/application/hollow_zero/lost_void/operation/lost_void_move_by_det.py:184
↓ 1 callers
Method
handle_pause
处理暂停处理。 此方法应由子类实现以进行自定义暂停处理。
src/one_dragon/base/operation/operation.py:595
↓ 1 callers
Method
handle_resume
处理恢复处理。 此方法应由子类实现以进行自定义恢复处理。
src/one_dragon/base/operation/operation.py:615
↓ 1 callers
Method
has_priority_rule
(self)
src/zzz_od/application/hollow_zero/lost_void/operation/interact/lost_void_choose_common.py:157
↓ 1 callers
Method
has_same_style_selected
(self, screen: MatLike)
src/zzz_od/application/hollow_zero/lost_void/operation/interact/lost_void_choose_common.py:369
↓ 1 callers
Method
highlight_icon
高亮指定行的图标
src/zzz_od/gui/view/devtools/icon_editor_dialog.py:279
↓ 1 callers
Function
hue_to_theme_color
根据色相生成主题色 (HSV 空间) S 和 V 使用固定值,不依赖图片原始亮度。
src/one_dragon_qt/utils/color_utils.py:84
↓ 1 callers
Method
image_padding
(self, im, value=0)
src/onnxocr/operators.py:80
↓ 1 callers
Method
inc_completed_rounds
当日已完成轮数 +1,下次启动据此决定从第几轮继续。
src/zzz_od/application/world_patrol/world_patrol_run_record.py:44
↓ 1 callers
Method
inference
图片输入到模型中进行推理 :param input_tensor: 输入模型的图片 RGB通道 :return: onnx模型推理得到的结果
src/one_dragon/yolo/yolov8_onnx_cls.py:119
↓ 1 callers
Method
inference
图片输入到模型中进行推理 :param input_tensor: 输入模型的图片 RGB通道 :return: onnx模型推理得到的结果
src/one_dragon/yolo/yolov8_onnx_det.py:118
↓ 1 callers
Method
init_battle_context
初始化自动战斗上下文 在进入一个新的战斗时调用
src/zzz_od/auto_battle/auto_battle_context.py:184
↓ 1 callers
Method
init_battle_dodge_context
初始化上下文,在运行前调用。
src/zzz_od/auto_battle/auto_battle_dodge_context.py:194
↓ 1 callers
Method
init_before_context_run
运行前初始化 :return:
src/one_dragon/base/controller/controller_base.py:27
↓ 1 callers
Method
init_before_run
应用开始前的初始化
src/zzz_od/application/hollow_zero/withered_domain/withered_domain_context.py:60
↓ 1 callers
Method
init_before_running
运行前进行初始化 :return:
src/zzz_od/auto_battle/auto_battle_operator.py:108
↓ 1 callers
Method
init_buff_combo_box
(self)
src/zzz_od/gui/app_setting/notorious_hunt_setting_interface.py:148
↓ 1 callers
Method
init_category_combo_box
(self)
src/zzz_od/gui/view/one_dragon/charge_plan_interface.py:140
↓ 1 callers
Method
init_category_combo_box
(self)
src/zzz_od/gui/view/one_dragon/charge_plan_interface.py:359
↓ 1 callers
Method
init_config
初始化配置显示。
src/one_dragon_qt/widgets/app_setting/app_notify_setting_flyout.py:80
↓ 1 callers
Method
init_config
(self)
src/one_dragon_qt/widgets/app_setting/app_setting_flyout.py:56
↓ 1 callers
Method
init_context
初始化上下文
src/one_dragon/launcher/application_launcher.py:56
↓ 1 callers
Method
init_for_application
执行应用前 还需要做的初始化 应该加载游戏级别 由子类自行实现
src/one_dragon/base/operation/one_dragon_context.py:312
↓ 1 callers
Method
init_level_combo_box
(self)
src/zzz_od/gui/app_setting/notorious_hunt_setting_interface.py:144
↓ 1 callers
Method
init_level_info
重新开始空洞时 初始化空洞的信息
src/zzz_od/application/hollow_zero/withered_domain/withered_domain_context.py:336
↓ 1 callers
Method
init_mission_type_combo_box
(self)
src/zzz_od/gui/app_setting/notorious_hunt_setting_interface.py:140
↓ 1 callers
Method
init_mission_type_combo_box
(self)
src/zzz_od/gui/view/one_dragon/charge_plan_interface.py:362
← previous
next →
1,901–2,000 of 5,764, ranked by callers