MCPcopy Create free account

hub / github.com/MaaXYZ/MaaFramework / functions

Functions3,285 in github.com/MaaXYZ/MaaFramework

↓ 1 callersFunctionclear_screen
source/MaaPiCli/CLI/interactor.cpp:125
↓ 1 callersMethodclick
(self, x: int, y: int)
source/binding/Python/maa/controller.py:1318
↓ 1 callersMethodclick_key
(self, keycode: int)
source/binding/Python/maa/controller.py:1350
↓ 1 callersFunctioncollect_all_is_sub_nodes
扫描所有 JSON 文件,收集全局的 is_sub 节点集合 Args: json_files: JSON 文件路径列表 Returns: 所有 is_sub: true 的节点名称集合
tools/migrate_pipeline_v5.py:696
↓ 1 callersMethodcompress
3rdparty/include/gzip/compress.hpp:30
↓ 1 callersMethodconnect
(self)
source/binding/Python/maa/controller.py:1282
↓ 1 callersMethodconnected
检查是否已连接(可选实现,默认返回 True)
source/binding/Python/maa/controller.py:1291
↓ 1 callersMethodconnected
source/MaaFramework/Controller/ControllerAgent.cpp:200
↓ 1 callersMethodconnected
source/MaaDbgControlUnit/DbgController.cpp:89
↓ 1 callersFunctioncontact_to_mouse_down_message
将 contact ID 转换为鼠标按下消息
source/MaaWin32ControlUnit/Input/InputUtils.h:58
↓ 1 callersMethodcontrol_unit
source/MaaFramework/Controller/ControllerAgent.h:250
↓ 1 callersMethodcontroller
source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:186
↓ 1 callersMethodcontroller
source/MaaFramework/Tasker/Tasker.cpp:197
↓ 1 callersMethodcontroller_id
source/MaaAgentClient/Client/AgentClient.cpp:2655
↓ 1 callersFunctionconv_args
source/MaaPiCli/Impl/Runner.cpp:22
↓ 1 callersFunctioncopy_base
()
tools/pip_pack/pip_pack.py:16
↓ 1 callersFunctioncopy_bin
(platform: str)
tools/pip_pack/pip_pack.py:112
↓ 1 callersFunctioncorrect_rois
source/MaaFramework/Vision/VisionUtils.hpp:380
↓ 1 callersFunctioncount_draw_coordinate
(rect_pts)
tools/ImageCropper/main.py:171
↓ 1 callersFunctioncount_move_coordinate
(pt0, pt1, pt2)
tools/ImageCropper/main.py:249
↓ 1 callersFunctioncount_zoom
(flag, zoom: float, step: float = 0.1)
tools/ImageCropper/main.py:221
↓ 1 callersMethodcreate
source/MaaFramework/Task/Context.cpp:16
↓ 1 callersFunctioncreate_adb_controller
sample/cpp/main.cpp:73
↓ 1 callersFunctioncreate_adb_controller
sample/cpp/MaaAgent/agent_main.cpp:81
↓ 1 callersMethodcreate_buffer
source/MaaWlRootsControlUnit/Client/WaylandClient.cpp:448
↓ 1 callersFunctioncreate_gamepad_state
source/MaaGamepadControlUnit/Input/GamepadState.cpp:245
↓ 1 callersMethodcreate_socket
source/MaaAgentClient/Client/AgentClient.cpp:113
↓ 1 callersMethodcreate_tcp
创建使用 TCP 连接的 Agent 客户端 / Create Agent client with TCP connection 客户端会监听 127.0.0.1 上的指定端口。如果传入 0 则自动选择可用端口。 AgentServer 端使用 identifier
source/binding/Python/maa/agent_client.py:64
↓ 1 callersMethodcreate_tcp_socket
source/MaaAgentClient/Client/AgentClient.cpp:141
↓ 1 callersFunctioncreate_test_pipeline_resource
创建测试用的 pipeline 资源
test/python/pipeline_test.py:1330
↓ 1 callersFunctioncrop
(event, x, y, flags, param)
tools/ImageCropper/main.py:194
↓ 1 callersFunctioncustom_ctrl_test
()
test/nodejs/binding.ts:166
↓ 1 callersMethodcustom_recognition
source/MaaFramework/Resource/ResourceMgr.cpp:344
↓ 1 callersFunctiondbus_append_dict_entry_bool
source/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp:226
↓ 1 callersFunctiondbus_append_dict_entry_uint32
source/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp:215
↓ 1 callersFunctiondebug_mode
source/MaaFramework/Global/OptionMgr.h:27
↓ 1 callersMethoddebug_mode
source/MaaFramework/Task/TaskBase.cpp:220
↓ 1 callersMethoddecode_jpg
source/MaaAdbControlUnit/Screencap/ScreencapHelper.cpp:142
↓ 1 callersFunctiondecompress
3rdparty/include/gzip/decompress.hpp:100
↓ 1 callersMethoddecompress
3rdparty/include/gzip/decompress.hpp:25
↓ 1 callersFunctiondetect_indent
检测 JSON 文件的缩进风格
tools/migrate_pipeline_v5.py:148
↓ 1 callersMethoddetector
source/MaaFramework/Resource/ONNXResMgr.cpp:156
↓ 1 callersMethoddisconnect
source/binding/NodeJS/src/apis/client.cpp:70
↓ 1 callersMethoddispatch_context_sink
source/binding/NodeJS/src/plugin/runtime.cpp:263
↓ 1 callersMethoddispatch_controller_sink
source/binding/NodeJS/src/plugin/runtime.cpp:237
↓ 1 callersMethoddispatch_resource_sink
source/binding/NodeJS/src/plugin/runtime.cpp:223
↓ 1 callersMethoddispatch_tasker_sink
source/binding/NodeJS/src/plugin/runtime.cpp:250
↓ 1 callersFunctionedit_whl_tag
(whl_tag: str)
tools/pip_pack/pip_pack.py:97
↓ 1 callersFunctionensure_process_dpi_awareness_once
source/MaaWin32ControlUnit/Input/MessageInput.cpp:32
↓ 1 callersMethodeval_file
source/binding/NodeJS/src/plugin/runtime.cpp:166
↓ 1 callersMethodexec_loop
source/binding/NodeJS/src/plugin/runtime.cpp:182
↓ 1 callersFunctionextract_function_name
从日志行中提取函数名 格式: [时间戳][级别][Px...][Tx...][文件名][行号][函数名] 其他内容
tools/analyze_log.py:13
↓ 1 callersMethodfind
source/binding/NodeJS/src/apis/ext.h:24
↓ 1 callersMethodfind_all
source/MaaToolkit/DesktopWindow/DesktopWindowWin32Finder.cpp:9
↓ 1 callersFunctionfind_by_emulator_tool
source/MaaToolkit/AdbDevice/AdbDeviceFinder.h:55
↓ 1 callersFunctionfind_cpp_files
查找所有 C++ 文件,排除指定目录 Args: root_dir: 根目录路径 exclude_dirs: 要排除的目录列表(相对于 root_dir) Returns: C++ 文件路径列表
tools/FormatCode/format_cpp.py:12
↓ 1 callersMethodfind_device
source/MaaAdbControlUnit/Manager/AdbControlUnitMgr.cpp:270
↓ 1 callersFunctionfind_extra_emulators
Extra emulator discovery hook for platform-specific fallbacks that cannot rely on process enumeration, e.g. emulators running as elevated processes wh
source/MaaToolkit/AdbDevice/AdbDeviceFinder.h:61
↓ 1 callersFunctionfind_pipeline_files
递归查找目录下所有 JSON 文件(排除以 . 开头的目录和文件)
tools/migrate_pipeline_v5.py:678
↓ 1 callersMethodfind_specified
source/MaaToolkit/AdbDevice/AdbDeviceFinder.cpp:61
↓ 1 callersFunctionformat_file
使用 clang-format 格式化单个文件 Args: file_path: 要格式化的文件路径 clang_format_cmd: clang-format 命令 dry_run: 如果为 True,只检查格式而不修改文件
tools/FormatCode/format_cpp.py:64
↓ 1 callersFunctiongen_base_whl
()
tools/pip_pack/pip_pack.py:50
↓ 1 callersFunctiongen_detail
source/MaaFramework/Task/Component/Recognizer.cpp:113
↓ 1 callersFunctiongenerate_bee_template
()
test/macos_test/GenerateBee.py:7
↓ 1 callersMethodgenerate_runtime
source/MaaPiCli/Impl/Configurator.cpp:153
↓ 1 callersMethodget
获取图像列表 / Get image list Returns: List[numpy.ndarray]: 图像列表 / Image list
source/binding/Python/maa/buffer.py:431
↓ 1 callersMethodget
source/binding/NodeJS/src/apis/controller.cpp:25
↓ 1 callersMethodgetCropRoi
获取相对于 parent,基于当前Roi,从坐标计算的一个新 Roi 如果 self 为 root,则相对于 root Args: x: float x 轴坐标 y:
tools/ImageCropper/roi.py:139
↓ 1 callersMethodgetRoiFromParent
获取相对于 parent.parent,基于当前Roi,从父 Roi 坐标计算的一个新 Roi 若 self 为 root,则返回 self Returns: Roi
tools/ImageCropper/roi.py:167
↓ 1 callersMethodget_action_result
source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:303
↓ 1 callersMethodget_action_result
source/MaaFramework/Tasker/Tasker.cpp:229
↓ 1 callersMethodget_anchor
source/MaaAgentServer/RemoteInstance/RemoteContext.cpp:223
↓ 1 callersFunctionget_boxes
source/MaaFramework/Task/Component/Recognizer.cpp:125
↓ 1 callersMethodget_ctrl_sinks
source/MaaFramework/Global/PluginMgr.cpp:165
↓ 1 callersMethodget_ctx_sinks
source/MaaFramework/Global/PluginMgr.cpp:179
↓ 1 callersFunctionget_current_exe_path
source/MaaPiCli/CLI/interactor.cpp:163
↓ 1 callersMethodget_custom_action_list
source/binding/NodeJS/src/apis/client.cpp:104
↓ 1 callersMethodget_custom_info
获取自定义控制器的额外信息(可选实现,默认返回空字典) Get custom controller's extra info (optional, returns empty dict by default) Returns: Dict[s
source/binding/Python/maa/controller.py:1378
↓ 1 callersMethodget_custom_recognition_list
source/binding/NodeJS/src/apis/client.cpp:94
↓ 1 callersMethodget_default_action_param
source/MaaAgentServer/RemoteInstance/RemoteResource.cpp:288
↓ 1 callersMethodget_default_recognition_param
source/MaaAgentServer/RemoteInstance/RemoteResource.cpp:273
↓ 1 callersMethodget_features
(self)
source/binding/Python/maa/controller.py:1299
↓ 1 callersMethodget_hash
source/MaaAgentServer/RemoteInstance/RemoteResource.cpp:225
↓ 1 callersMethodget_hash
source/binding/NodeJS/src/apis/resource.cpp:318
↓ 1 callersMethodget_hash
source/MaaFramework/Resource/ResourceMgr.cpp:129
↓ 1 callersMethodget_hit_count
source/MaaAgentServer/RemoteInstance/RemoteContext.cpp:237
↓ 1 callersMethodget_image
source/MaaFramework/Resource/TemplateResMgr.cpp:44
↓ 1 callersMethodget_image_cache
source/AgentCommon/Transceiver.cpp:411
↓ 1 callersMethodget_latest_node
source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:358
↓ 1 callersMethodget_node_data
获取任务当前的定义 / Get the current definition of task Args: name: 任务名 / Task name Returns: Optional[Dict]: 任务定义字典,如
source/binding/Python/maa/context.py:287
↓ 1 callersMethodget_node_detail
source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:247
↓ 1 callersMethodget_node_detail
获取节点信息 / Get node info Args: node_id: 节点号 / Node id Returns: Optional[NodeDetail]: 节点详情,如果不存在则返回 None / Node
source/binding/Python/maa/tasker.py:539
↓ 1 callersMethodget_node_list
source/MaaAgentServer/RemoteInstance/RemoteResource.cpp:237
↓ 1 callersMethodget_node_list
source/binding/NodeJS/src/apis/resource.cpp:327
↓ 1 callersMethodget_reco_result
source/MaaAgentServer/RemoteInstance/RemoteTasker.cpp:273
↓ 1 callersMethodget_res_sinks
source/MaaFramework/Global/PluginMgr.cpp:158
↓ 1 callersMethodget_resolution
source/MaaAgentServer/RemoteInstance/RemoteController.cpp:400
↓ 1 callersMethodget_resolution
source/binding/NodeJS/src/apis/controller.cpp:308
↓ 1 callersMethodget_running
source/MaaFramework/Base/AsyncRunner.hpp:257
↓ 1 callersFunctionget_std_roimage
()
tools/ImageCropper/main.py:297
← previousnext →701–800 of 3,285, ranked by callers