Module maa_framework::internal
source · Available on crate feature
internal
only.Structs§
- @brief The custom action API.
- @brief The custom controller API.
- @brief The custom recognizer API.
Constants§
- \deprecated
- \deprecated
- \deprecated
- \deprecated
- \deprecated
- \deprecated
- \deprecated
- \deprecated
- \deprecated
- For StopApp
- For StartApp
- Dump all screenshots and actions
- Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.
- Only one of long and short side can be set, and the other is automatically scaled according to the aspect ratio.
- Whether to callback debug message
- Log dir
- Dump all screenshots and actions
- Whether to save draw
- Whether to show hit draw
- The level of log output to stdout
Functions§
- \deprecated Use MaaAdbControllerCreateV2() instead.
- @brief Create a ADB controller instance.
- @brief Bind the instance to an initialized controller.
- @brief Bind the instance to an initialized resource.
- @brief Clear all custom actions registered to the instance.
- @brief Clear all custom recognizers registered to the instance.
- @brief Check if the controller is connected.
- @brief Free the controller instance.
- @brief Get the image buffer of the last screencap request.
- @brief Get the UUID of the controller.
- @defgroup MaaControllerPostRequest Controller Requests
- @brief Set options for a given controller instance.
- @brief Get the status of a request identified by the given id.
- @brief Wait for the request identified by the given id to complete.
- @brief Create an instance.
- @brief Create a custom controller instance.
- @brief Free the instance.
- @brief Get the controller handle of the instance.
- @brief Get the resource handle of the instance.
- @brief Check if the instance is initialized.
- @brief Post a stop signal to the instance.
- @brief Post a task to the instance.
- @brief Register a custom action to the instance.
- @brief Register a custom recognizer to the instance.
- @brief Clear the resource loading paths
- @brief Create a resource.
- @brief Free the resource.
- @brief Get the hash of the resource.
- @brief Get the task list of the resource.
- @brief Check if resources are loaded.
- @brief Add a path to the resource loading paths
- @brief Set options for a given resource.
- @brief Get the loading status of a resource identified by id.
- @brief Wait for a resource to be loaded.
- @brief Is maa running?
- @brief Set options globally.
- @brief Set options for a given instance.
- @brief Set the parameter of a task.
- \deprecated Use MaaPostStop() instead.
- \deprecated Use !MaaRunning() instead.
- @brief Get the status of a task identified by the id.
- \deprecated Use MaaToolkitPostFindDevice() and MaaToolkitWaitForFindDeviceToComplete() instead.
- \deprecated Use MaaToolkitPostFindDeviceWithAdb() and MaaToolkitWaitForFindDeviceToComplete() instead.
- @brief Find a win32 window by class name and window name.
- @brief Get the window handle of the window under the cursor. This uses the WindowFromPoint() system API.
- @brief Get the desktop window handle. This uses the GetDesktopWindow() system API.
- @brief Get the device ADB config by index.
- @brief Get the device ADB controller type by index.
- @brief Get the device ADB path by index.
- @brief Get the device ADB serial by index.
- @brief Get the number of devices found.
- @brief Get the device name by index.
- @brief Get the foreground window handle. This uses the GetForegroundWindow() system API.
- @brief Get the window handle by index.
- \deprecated Use MaaToolkitInitOptionConfig instead.
- @brief Check if the find device request is completed.
- @brief Post a request to find all ADB devices.
- @brief Post a request to find all ADB devices with a given ADB path.
- @brief Search a win32 window by class name and window name.
- \deprecated Don’t use it.
- @brief Wait for the find device request to complete.
- @brief Unregister a custom action from the instance.
- @brief Unregister a custom recognizer from the instance.
- @brief Get the version of the framework.
- @brief Wait for a task to finish.
- @brief Create a win32 controller instance.
Type Aliases§
- @brief The callback function type.
- @brief ADB controller type
- @brief Option keys for controller instance options. See MaaControllerSetOption().
- @brief Win32 controller type