Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MaaXYZ/MaaFramework
/ functions
Functions
3,285 in github.com/MaaXYZ/MaaFramework
⨍
Functions
3,285
◇
Types & classes
850
↳
Endpoints
21
↓ 2 callers
Method
__init__
( self, job_id: MaaId, status_func: Callable[[int], MaaStatus], wait_func: Cal
source/binding/Python/maa/job.py:19
↓ 2 callers
Method
_parse_action_param
Convert dict to appropriate JActionParam variant based on type.
source/binding/Python/maa/pipeline.py:427
↓ 2 callers
Method
_parse_param
Generic function to parse parameters based on type map.
source/binding/Python/maa/pipeline.py:392
↓ 2 callers
Method
_parse_recognition_param
Convert dict to appropriate JRecognitionParam variant based on type.
source/binding/Python/maa/pipeline.py:410
↓ 2 callers
Method
_set_api_properties
()
source/binding/Python/maa/agent_client.py:229
↓ 2 callers
Method
abilist
source/MaaAdbControlUnit/Invoke/InvokeApp.cpp:64
↓ 2 callers
Method
add_context_sink
source/MaaAgentServer/Server/AgentServer.cpp:120
↓ 2 callers
Function
add_prefix_to_nodes
给节点列表中的所有节点添加前缀
tools/migrate_pipeline_v5.py:494
↓ 2 callers
Function
add_prefix_to_specific_nodes
给节点列表中指定的节点添加前缀
tools/migrate_pipeline_v5.py:501
↓ 2 callers
Method
bind_controller
source/MaaFramework/Tasker/Tasker.cpp:55
↓ 2 callers
Method
bind_resource
source/MaaFramework/Tasker/Tasker.cpp:40
↓ 2 callers
Method
check_hit_count
source/MaaFramework/Task/Context.cpp:400
↓ 2 callers
Method
clear
清除已加载内容 / Clear loaded content 如果资源正在加载中,此方法会失败 This method will fail if resources are currently loading Returns:
source/binding/Python/maa/resource.py:284
↓ 2 callers
Method
clear_context_sinks
source/MaaFramework/Tasker/Tasker.cpp:279
↓ 2 callers
Function
collect_is_sub_nodes
收集所有 is_sub: true 的节点名称
tools/migrate_pipeline_v5.py:482
↓ 2 callers
Method
connect
source/MaaAgentClient/Client/AgentClient.cpp:158
↓ 2 callers
Method
connected
source/MaaAgentClient/Client/AgentClient.cpp:222
↓ 2 callers
Function
contact_to_mouse_down_flags
将 contact ID 转换为 MOUSEEVENTF 按下标志(用于 SendInput/mouse_event)
source/MaaWin32ControlUnit/Input/InputUtils.h:155
↓ 2 callers
Function
contact_to_mouse_move_message
将 contact ID 转换为鼠标移动消息
source/MaaWin32ControlUnit/Input/InputUtils.h:88
↓ 2 callers
Function
contact_to_mouse_up_flags
将 contact ID 转换为 MOUSEEVENTF 抬起标志(用于 SendInput/mouse_event)
source/MaaWin32ControlUnit/Input/InputUtils.h:184
↓ 2 callers
Function
contact_to_mouse_up_message
将 contact ID 转换为鼠标抬起消息
source/MaaWin32ControlUnit/Input/InputUtils.h:118
↓ 2 callers
Method
context_notify
source/MaaFramework/Tasker/Tasker.cpp:284
↓ 2 callers
Function
correct_roi
source/MaaFramework/Vision/VisionUtils.hpp:333
↓ 2 callers
Function
dbus_wait_for_signal
--------------------------------------------------------------------------- Helper: wait for a D-Bus Response signal on a given request path. Polls u
source/MaaKWinControlUnit/Screencap/PipeWireScreencap.cpp:73
↓ 2 callers
Method
detach
source/MaaAgentServer/Server/AgentServer.cpp:69
↓ 2 callers
Method
detach
分离 Agent 服务 / Detach Agent service 允许服务在后台运行而不阻塞。 Allows the service to run in the background without blocking.
source/binding/Python/maa/agent/agent_server.py:171
↓ 2 callers
Method
deter
source/MaaFramework/Resource/OCRResMgr.cpp:103
↓ 2 callers
Method
disconnect
source/MaaAgentClient/Client/AgentClient.cpp:201
↓ 2 callers
Method
dump
source/MaaFramework/Resource/PipelineDumper.cpp:470
↓ 2 callers
Function
dump_rect_array
source/MaaFramework/Resource/PipelineDumper.cpp:50
↓ 2 callers
Function
dump_target_obj_array
source/MaaFramework/Resource/PipelineDumper.cpp:41
↓ 2 callers
Function
ensure_foreground_with_cooldown
source/MaaWin32ControlUnit/Base/ForegroundUtils.h:36
↓ 2 callers
Method
ensure_not_minimized
source/MaaWin32ControlUnit/Screencap/PseudoMinimizeHelper.cpp:76
↓ 2 callers
Function
ensure_window_on_screen
Ensure the window's client area is fully visible on the monitor. If the window extends beyond the monitor bounds, move it back. If the client area is
source/MaaWin32ControlUnit/Screencap/HwndUtils.hpp:60
↓ 2 callers
Method
gc_mark
source/binding/NodeJS/src/foundation/spec/quickjs/instric.impl.h:114
↓ 2 callers
Method
get
source/binding/NodeJS/src/foundation/spec/quickjs/bridge.h:53
↓ 2 callers
Function
get_amplified_roi_rectangle
(roi: Roimage)
tools/ImageCropper/main.py:316
↓ 2 callers
Function
get_and_check_array_or_2darray
source/MaaFramework/Resource/PipelineParser.cpp:126
↓ 2 callers
Method
get_custom_action_list
source/MaaAgentClient/Client/AgentClient.cpp:242
↓ 2 callers
Method
get_custom_recognition_list
source/MaaAgentClient/Client/AgentClient.cpp:237
↓ 2 callers
Method
get_default_action_param
获取指定动作类型的默认参数 / Get default parameters for specified action type Args: action_type: 动作类型 / Action type Returns:
source/binding/Python/maa/resource.py:249
↓ 2 callers
Method
get_default_action_param
source/binding/NodeJS/src/apis/resource.cpp:287
↓ 2 callers
Method
get_default_recognition_param
获取指定识别类型的默认参数 / Get default parameters for specified recognition type Args: reco_type: 识别类型 / Recognition type Returns:
source/binding/Python/maa/resource.py:223
↓ 2 callers
Method
get_default_recognition_param
source/binding/NodeJS/src/apis/resource.cpp:278
↓ 2 callers
Function
get_dpi_awareness_name
获取 DPI 感知模式的字符串描述
test/win32_test/dpi_test.cpp:55
↓ 2 callers
Method
get_id
source/binding/NodeJS/src/apis/job.cpp:14
↓ 2 callers
Method
get_image_encoded_cache
source/AgentCommon/Transceiver.cpp:430
↓ 2 callers
Method
get_images
source/MaaFramework/Task/Context.cpp:366
↓ 2 callers
Function
get_library_path
source/binding/NodeJS/src/utils/library.cpp:45
↓ 2 callers
Method
get_node_data
source/MaaAgentServer/RemoteInstance/RemoteContext.cpp:148
↓ 2 callers
Method
get_node_data
获取任务当前的定义 / Get the current definition of task Args: name: 任务名 / Task name Returns: Optional[Dict]: 任务定义字典,如
source/binding/Python/maa/resource.py:185
↓ 2 callers
Function
get_optional_value
source/MaaAndroidNativeControlUnit/API/AndroidNativeControlUnitAPI.cpp:20
↓ 2 callers
Function
image_to_tensor
source/MaaFramework/Vision/VisionUtils.hpp:284
↓ 2 callers
Method
init
source/MaaAdbControlUnit/Screencap/Minicap/MinicapStream.cpp:33
↓ 2 callers
Method
init
source/MaaAdbControlUnit/Manager/InputAgent.cpp:103
↓ 2 callers
Method
init_bind
source/binding/NodeJS/src/foundation/spec/types.h:27
↓ 2 callers
Method
input_key
source/MaaWlRootsControlUnit/Client/WaylandClient.cpp:361
↓ 2 callers
Function
input_multi_impl
return [1, size]
source/MaaPiCli/CLI/interactor.cpp:46
↓ 2 callers
Method
is_alive
source/MaaAdbControlUnit/General/Connection.cpp:151
↓ 2 callers
Function
is_image_path
source/MaaDbgControlUnit/DbgController.cpp:29
↓ 2 callers
Method
kill_server
source/MaaAdbControlUnit/General/Connection.cpp:68
↓ 2 callers
Method
load_file
source/MaaFramework/Resource/TemplateResMgr.cpp:16
↓ 2 callers
Function
main
()
test/agent/agent_child_test.py:55
↓ 2 callers
Function
normalize_rect
将支持负数的矩形转换为标准矩形: - x/y 负数表示从右/下边缘反向计算 - w/h 负数表示取绝对值并将 (x,y) 视为右下角 - w/h 为 0 表示延伸至边缘
source/MaaFramework/Vision/VisionUtils.hpp:303
↓ 2 callers
Method
ocrer
source/MaaFramework/Resource/OCRResMgr.cpp:131
↓ 2 callers
Method
open
source/MaaKWinControlUnit/Input/UInputController.cpp:23
↓ 2 callers
Method
override_image
source/MaaAgentServer/RemoteInstance/RemoteContext.cpp:133
↓ 2 callers
Method
override_next
source/MaaAgentServer/RemoteInstance/RemoteContext.cpp:118
↓ 2 callers
Method
parse
source/MaaAdbControlUnit/Input/MtouchHelper.cpp:284
↓ 2 callers
Function
parse_jsonc
解析 JSONC 文件内容,返回 OrderedDict 以保持字段顺序
tools/migrate_pipeline_v5.py:139
↓ 2 callers
Method
parse_pipeline_data
Parse JSON string to JPipelineData dataclass with proper variant types.
source/binding/Python/maa/pipeline.py:456
↓ 2 callers
Function
parse_port_string
source/AgentCommon/Transceiver.cpp:80
↓ 2 callers
Function
parse_win32_input_method
source/MaaPiCli/Impl/Configurator.cpp:33
↓ 2 callers
Function
parse_win32_screencap_method
source/MaaPiCli/Impl/Configurator.cpp:16
↓ 2 callers
Method
post
source/MaaFramework/Base/AsyncRunner.hpp:166
↓ 2 callers
Function
read_reg_sz
Read a REG_SZ value from an opened registry key into a std::wstring. Returns nullopt on any failure.
source/MaaToolkit/AdbDevice/AdbDeviceWin32Finder.cpp:287
↓ 2 callers
Method
recv
source/AgentCommon/Transceiver.cpp:305
↓ 2 callers
Method
reg_task
source/binding/NodeJS/src/plugin/runtime.cpp:98
↓ 2 callers
Method
register_custom_action
source/MaaAgentServer/Server/AgentServer.cpp:93
↓ 2 callers
Method
register_custom_recognition
source/MaaAgentServer/Server/AgentServer.cpp:81
↓ 2 callers
Method
register_sink
注册事件监听器 / Register event sinks 将资源、控制器、任务器的事件转发给 AgentServer。 Forward resource, controller, and tasker events to AgentServer.
source/binding/Python/maa/agent_client.py:128
↓ 2 callers
Method
remove_context_sink
source/MaaFramework/Tasker/Tasker.cpp:274
↓ 2 callers
Function
request_uuid
tools/NodeTest/main.cpp:24
↓ 2 callers
Method
revert_pseudo_minimize
source/MaaWin32ControlUnit/Screencap/PseudoMinimizeHelper.cpp:137
↓ 2 callers
Method
run_impl
source/MaaFramework/Task/ActionTask.cpp:30
↓ 2 callers
Function
run_tcp_flow
(agent: AgentClient, socket_id: str, *, scenario: str)
test/agent/agent_tcp_main_test.py:73
↓ 2 callers
Function
screen_to_touch
source/MaaAdbControlUnit/Input/MaatouchInput.h:41
↓ 2 callers
Method
set
设置字符串列表 / Set string list Args: value: 字符串列表 / String list Returns: bool: 是否成功 / Whether successful
source/binding/Python/maa/buffer.py:159
↓ 2 callers
Method
set_latest_node
source/MaaFramework/Tasker/RuntimeCache.cpp:26
↓ 2 callers
Method
set_reco_detail
source/MaaFramework/Tasker/RuntimeCache.cpp:63
↓ 2 callers
Method
set_screenshot_target_long_side
source/binding/NodeJS/src/apis/controller.cpp:114
↓ 2 callers
Method
set_screenshot_use_raw_size
source/binding/NodeJS/src/apis/controller.cpp:128
↓ 2 callers
Function
set_stdout_level
source/binding/NodeJS/src/apis/global.cpp:55
↓ 2 callers
Method
set_task_detail
source/MaaFramework/Task/TaskBase.cpp:191
↓ 2 callers
Method
set_timeout
source/AgentCommon/Transceiver.cpp:255
↓ 2 callers
Method
set_vector
source/binding/NodeJS/src/apis/buffer.h:201
↓ 2 callers
Method
size
Roi 大小 (width, height)
tools/ImageCropper/roi.py:109
↓ 2 callers
Function
sort_by_expected_index_
source/MaaFramework/Vision/VisionUtils.hpp:89
↓ 2 callers
Method
start
source/MaaWin32ControlUnit/Screencap/PseudoMinimizeHelper.cpp:19
↓ 2 callers
Method
take_task_callbacks
source/binding/NodeJS/src/plugin/runtime.cpp:78
← previous
next →
401–500 of 3,285, ranked by callers