Expand description
§Custom API of MaaFramework.
With the custom API, you can create your own custom components and use them in your application. All you need to do is implement the traits according to your needs. All the trait functions provide an empty default implementation so you can choose to implement only the functions you need.
§Examples
use maa_framework::custom::*;
struct MyCustomController;
impl custom_controller::MaaCustomController for MyCustomController {
fn connect(&mut self) -> bool {
// Your implementation here
true
}
}Modules§
- custom_
action custom_action - custom_
controller custom_controller - custom_
recognizer custom_recognizer