MCPcopy Create free account

hub / github.com/OneDragon-Anything/ZenlessZoneZero-OneDragon / functions

Functions5,764 in github.com/OneDragon-Anything/ZenlessZoneZero-OneDragon

Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_quick_assist.py:48
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_lock.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_dodge.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_switch_agent.py:52
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_switch_prev.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_move_a.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_move_w.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_special_attack.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_chain_right.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_move_d.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_switch_backup.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_common.py:115
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_chain_left.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_move_s.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/turn.py:21
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_chain_cancel.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/wait.py:25
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_normal_attack.py:30
Methodstop
(self)
src/zzz_od/auto_battle/atomic_op/btn_ultimate.py:30
Methodstop
(self)
src/one_dragon/base/controller/pc_button/pc_button_listener.py:80
Methodstop
停止运行 :return: 停止前是否已经完成所有指令了
src/one_dragon/base/conditional_operation/operation_executor.py:81
Methodstop_context
停止上下文,停止音频录制。
src/zzz_od/auto_battle/auto_battle_dodge_context.py:339
Methodstop_tracking
(self)
src/zzz_od/application/world_patrol/world_patrol_app.py:104
Methodstore_blood
@return: 是否使用血量购买商店
src/zzz_od/application/hollow_zero/lost_void/lost_void_challenge_config.py:254
Methodstore_blood_min
@return: 大于等于多少血量时 才会选择刷新和购买
src/zzz_od/application/hollow_zero/lost_void/lost_void_challenge_config.py:265
Methodstore_gold
@return: 是否使用金币购买商店
src/zzz_od/application/hollow_zero/lost_void/lost_void_challenge_config.py:243
Methodstory_mode
剧情模式:右上角有 菜单/自动/跳过(点击前后显隐性或位置性会改变)
src/zzz_od/application/commission_assistant/commission_assistant_app.py:398
Methodstory_mode
(self)
src/zzz_od/application/commission_assistant/commission_assistant_config.py:48
Functionstr2bool
(v)
src/onnxocr/utils.py:248
Methodswitch_account
(self)
src/one_dragon/base/operation/one_dragon_app.py:116
Methodswitch_backup
切换后援
src/zzz_od/controller/zzz_pc_controller.py:95
Methodswitch_bilibili_account
(self)
src/zzz_od/operation/enter_game/enter_game.py:287
Methodswitch_instance
切换实例 :param instance_idx: :return:
src/one_dragon/base/operation/one_dragon_context.py:446
Methodswitch_next
切换角色-下一个
src/zzz_od/controller/zzz_pc_controller.py:87
Methodswitch_prev
切换角色-上一个
src/zzz_od/controller/zzz_pc_controller.py:91
Functionswitch_to_best_agent_for_moving
切换到最适合移动的角色 Args: ctx: 上下文 timeout_seconds: 切换超时时间
src/zzz_od/auto_battle/auto_battle_utils.py:73
Methodtalk_after_mission
(self)
src/zzz_od/application/life_on_line/life_on_line_app.py:109
Methodtap
(self, key: str)
src/one_dragon/base/controller/pc_button/virtual_gamepad_controller.py:81
Methodtap
按一次按键 :param key: 按键 :return:
src/one_dragon/base/controller/pc_button/keyboard_mouse_controller.py:17
Methodtarget_agents
(self)
src/zzz_od/hollow_zero/hollow_zero_challenge_config.py:101
Methodteam_config
(self)
src/zzz_od/context/zzz_context.py:71
Methodteam_info
自选代理人 :return:
src/zzz_od/application/hollow_zero/lost_void/lost_void_challenge_config.py:141
Methodteam_list
(self)
src/zzz_od/config/team_config.py:22
MethodtearDown
测试清理
tests/zzz_od/auto_battle/test_cv_timeout_control.py:46
Methodtelemetry
(self)
src/zzz_od/context/zzz_context.py:45
Methodtemplate_loader
(self)
src/one_dragon/base/cv_process/cv_step.py:54
Methodtest_all_ignored_words
测试所有词都被忽略的情况
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:232
Methodtest_async_task_timeout_control
测试异步任务的超时控制
tests/zzz_od/auto_battle/test_cv_timeout_control.py:295
Methodtest_basic_priority_matching
测试基本的优先级匹配功能
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:40
Functiontest_create_onnx_session_serializes_dml_factories
()
tests/one_dragon/test_gpu_inference_serialization.py:67
Methodtest_cv_pipeline_context_timeout_check_no_timeout
测试CvPipelineContext在无超时设置时的行为
tests/zzz_od/auto_battle/test_cv_timeout_control.py:50
Methodtest_cv_pipeline_context_timeout_check_with_timeout_expired
测试CvPipelineContext在超时到期时的行为
tests/zzz_od/auto_battle/test_cv_timeout_control.py:63
Methodtest_cv_pipeline_context_timeout_check_with_timeout_not_expired
测试CvPipelineContext在超时未到期时的行为
tests/zzz_od/auto_battle/test_cv_timeout_control.py:56
Methodtest_cv_pipeline_context_timeout_with_none_timeout
测试CvPipelineContext在超时时间为None时的行为
tests/zzz_od/auto_battle/test_cv_timeout_control.py:257
Methodtest_cv_pipeline_context_timeout_with_zero_timeout
测试CvPipelineContext在超时时间为0时的行为
tests/zzz_od/auto_battle/test_cv_timeout_control.py:250
Methodtest_cv_pipeline_execute_steps_timeout_check
测试CvPipeline在执行步骤过程中检查超时
tests/zzz_od/auto_battle/test_cv_timeout_control.py:111
Methodtest_cv_pipeline_execute_with_multiple_steps_and_timeout
测试CvPipeline在执行多个步骤时的超时控制
tests/zzz_od/auto_battle/test_cv_timeout_control.py:264
Methodtest_cv_pipeline_execute_with_no_timeout
测试CvPipeline在无超时设置时的执行
tests/zzz_od/auto_battle/test_cv_timeout_control.py:70
Methodtest_cv_pipeline_execute_with_timeout_expired
测试CvPipeline在超时到期时的执行
tests/zzz_od/auto_battle/test_cv_timeout_control.py:85
Methodtest_cv_pipeline_execute_with_timeout_not_expired
测试CvPipeline在超时未到期时的执行
tests/zzz_od/auto_battle/test_cv_timeout_control.py:77
Methodtest_cv_service_run_pipeline_with_timeout
测试CvService运行流水线时的超时控制
tests/zzz_od/auto_battle/test_cv_timeout_control.py:149
Methodtest_empty_ocr_result_map
测试空的OCR结果映射
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:125
Methodtest_empty_word_list
测试空的词列表
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:140
Methodtest_fetch_remote_reports_progress_and_success
( self, git_service: GitService, monkeypatch: pytest.MonkeyPatch, )
tests/one_dragon/envs/test_git_service.py:108
Methodtest_fuzzy_matching_with_difflib
测试使用difflib进行模糊匹配
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:201
Functiontest_git_service_transfer_progress_always_shows_final_100_percent
(monkeypatch)
tests/one_dragon/test_code_sync_progress.py:27
Functiontest_git_service_transfer_progress_limits_transfer_messages
(monkeypatch)
tests/one_dragon/test_code_sync_progress.py:11
Methodtest_i18n_translation
测试国际化翻译功能
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:156
Methodtest_ignore_list_functionality
测试忽略列表功能
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:87
Methodtest_multiple_matches_for_same_word
测试同一个词有多个匹配结果的情况
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:177
Methodtest_no_matches_found
测试没有找到匹配时的情况
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:109
Functiontest_ocr_init_model_failure_releases_lock
(monkeypatch)
tests/one_dragon/test_gpu_inference_serialization.py:174
Functiontest_ocr_init_model_uses_lock_for_concurrent_calls
(monkeypatch)
tests/one_dragon/test_gpu_inference_serialization.py:134
Functiontest_onnx_paddleocr_ocr_reraises_inference_errors
(monkeypatch)
tests/one_dragon/test_gpu_inference_serialization.py:190
Methodtest_partial_ignore_list
测试部分忽略列表的情况
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:251
Methodtest_priority_order_respected
测试优先级顺序被正确遵循
tests/one_dragon/base/matcher/ocr/ocr_utilss/test_match_word_list_by_priority.py:65
Functiontest_python_launcher_fetch_latest_code_passes_progress_callback
( monkeypatch, )
tests/one_dragon/test_code_sync_progress.py:42
Functiontest_python_launcher_fetch_latest_code_silences_framework_console_log
( monkeypatch, )
tests/one_dragon/test_code_sync_progress.py:78
Functiontest_python_launcher_progress_callback_passes_stage_messages_through
()
tests/one_dragon/test_code_sync_progress.py:127
Functiontest_run_session_does_not_serialize_cpu_sessions
()
tests/one_dragon/test_gpu_inference_serialization.py:119
Functiontest_run_session_serializes_dml_sessions
()
tests/one_dragon/test_gpu_inference_serialization.py:89
Functiontest_run_session_serializes_when_provider_lookup_fails
()
tests/one_dragon/test_gpu_inference_serialization.py:104
Functiontest_runtime_launcher_sync_code_uses_framework_log
(monkeypatch)
tests/one_dragon/test_code_sync_progress.py:149
Methodtest_target_state_checker_run_task_with_timeout
测试TargetStateChecker运行任务时的超时控制
tests/zzz_od/auto_battle/test_cv_timeout_control.py:189
Methodtest_target_state_checker_run_task_without_timeout
测试TargetStateChecker运行任务时无超时的情况
tests/zzz_od/auto_battle/test_cv_timeout_control.py:220
Methodtest_transfer_progress_deduplicates_identical_messages
(self)
tests/one_dragon/envs/test_git_service.py:75
Methodtest_transfer_progress_falls_back_to_received_bytes
(self)
tests/one_dragon/envs/test_git_service.py:59
Methodtest_transfer_progress_maps_to_stage_range
(self)
tests/one_dragon/envs/test_git_service.py:43
Methodtheme
主题 :return:
src/one_dragon/base/config/custom_config.py:51
Methodtheme_color
全局主题色 (r, g, b)
src/one_dragon/base/config/custom_config.py:143
Methodtheme_color_str
全局主题色,格式为 "r,g,b"
src/one_dragon/base/config/custom_config.py:136
Methodthird_party_plugins
获取第三方插件
src/one_dragon/base/operation/application/application_factory_manager.py:66
Methodtimeline_panel_enabled
(self)
src/one_dragon_qt/overlay/overlay_config.py:405
Functionto_base64
将图片转化成base64编码展示 :param img: :return:
src/one_dragon/utils/cv2_utils.py:812
Functionto_binary
将图像转换为二值化图像 Args: img: 输入图像(可以是彩色或灰度图像) threshold: 二值化阈值,默认为127 Returns: 二值化图像(单通道,只有0和255两个值)
src/one_dragon/utils/cv2_utils.py:1180
Methodto_dict
(self)
src/zzz_od/application/world_patrol/world_patrol_area.py:63
Methodto_dict
(self)
src/zzz_od/application/world_patrol/world_patrol_area.py:84
Methodto_dict
(self)
src/zzz_od/application/world_patrol/world_patrol_route_list.py:37
Methodto_dict
(self)
src/zzz_od/application/world_patrol/world_patrol_route.py:19
Methodto_dict
(self)
src/one_dragon/base/screen/screen_area.py:107
← previousnext →5,501–5,600 of 5,764, ranked by callers