Function maa_framework::internal::MaaRegisterCustomAction
source · pub unsafe extern "C" fn MaaRegisterCustomAction(
inst: MaaInstanceHandle,
name: MaaStringView,
action: MaaCustomActionHandle,
action_arg: MaaTransparentArg
) -> MaaBoolAvailable on crate feature
internal only.Expand description
@brief Register a custom action to the instance.
See MaaCustomAction.h for details about how to create a custom action.
@param inst @param name The name of the action that will be used to reference it. @param action @param action_arg @return MaaBool