Function maa_framework::internal::MaaRegisterCustomRecognizer

source ยท
pub unsafe extern "C" fn MaaRegisterCustomRecognizer(
    inst: MaaInstanceHandle,
    name: MaaStringView,
    recognizer: MaaCustomRecognizerHandle,
    recognizer_arg: MaaTransparentArg
) -> MaaBool
Available on crate feature internal only.
Expand description

@brief Register a custom recognizer to the instance.

See MaaCustomRecognizer.h for details about how to create a custom recognizer.

@param inst @param name The name of the recognizer that will be used to reference it. @param recognizer @param recognizer_arg @return MaaBool