Class MaaToolkit.ProjectInterfaceClass
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
A wrapper class providing a reference implementation for MaaFramework.Binding.Interop.Native.MaaToolkit.
protected class MaaToolkit.ProjectInterfaceClass : IMaaToolkitProjectInterface, IMaaCommon
Inheritance
Implements
Inherited Members
Remarks
Exists risk of memory leak.
Constructors
- ProjectInterfaceClass(ulong)
-
Creates a MaaFramework.Binding.MaaToolkit.ProjectInterfaceClass instance.
- ProjectInterfaceClass(ulong)
-
Creates a MaaFramework.Binding.MaaToolkit.ProjectInterfaceClass instance.
Properties
- MaaNotificationCallback
-
Gets the delegate to avoid garbage collection before MaaFramework calls MaaFramework.Binding.MaaToolkit.ProjectInterfaceClass.OnCallback(System.String,System.String,System.IntPtr).
- MaaNotificationCallback
-
Gets the delegate to avoid garbage collection before MaaFramework calls MaaFramework.Binding.MaaToolkit.ProjectInterfaceClass.OnCallback(System.String,System.String,System.IntPtr).
- this[ulong]
-
Gets a pi with the specific instance
id
. - this[ulong]
-
Gets a pi with the specific instance
id
.
Methods
- Get(ulong)
-
Gets a pi with the specific instance
id
. - Get(ulong)
-
Gets a pi with the specific instance
id
. - OnCallback(string, string, nint)
-
Raises the Callback event.
- OnCallback(string, string, nint)
-
Raises the Callback event.
- Register<T>(string, T)
-
Registers a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaToolkitProjectInterface.
- Register<T>(T)
-
Registers a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaToolkitProjectInterface.
- Register<T>(string, T)
-
Registers a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaToolkitProjectInterface.
- Register<T>(T)
-
Registers a MaaFramework.Binding.Custom.IMaaCustomAction or MaaFramework.Binding.Custom.IMaaCustomRecognition in the MaaFramework.Binding.IMaaToolkitProjectInterface.
- RunCli(string, string, bool)
-
Runs a cli.
- RunCli(string, string, bool)
-
Runs a cli.