Class MaaContext
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
A wrapper class providing a reference implementation for MaaFramework.Binding.Interop.Native.MaaContext.
public class MaaContext : IMaaContext<nint>, IMaaContext, ICloneableInheritance
Implements
Inherited Members
Constructors
- MaaContext(nint)
-
Creates a MaaFramework.Binding.MaaContext instance.
Properties
- Handle
-
Gets or initializes a MaaContextHandle.
- TaskJob
-
Gets the task job from the MaaFramework.Binding.IMaaContext.
- Tasker
-
Gets the tasker from the MaaFramework.Binding.IMaaContext.
Methods
- ClearHitCount(string)
-
Clears the hit count of a node.
- Clone()
-
Creates a new MaaFramework.Binding.IMaaContext that is a deep copy of the current instance.
- GetAnchor(string, out string)
-
Gets the node name from an anchor.
- GetHitCount(string, out ulong)
-
Gets the hit count of a node.
- GetNodeData(string, out string)
-
Gets the node data from the MaaFramework.Binding.IMaaContext by node name.
- OverrideImage(string, IMaaImageBuffer)
-
Override the image which name from the value of property field e.g. "template".
- OverrideImage(string, MaaImageBuffer)
-
Override the image which name from the value of property field e.g. "template".
- OverrideNext(string, IEnumerable<string>)
-
Override the property field "next" in a node.
- OverridePipeline(string)
-
Override a pipeline.
- RunAction(string, IMaaRectBuffer, string, string)
-
Run an action.
- RunAction(string, MaaRectBuffer, string, string)
-
Run an action.
- RunRecognition(string, IMaaImageBuffer, string)
-
Run a recognition.
- RunRecognition(string, MaaImageBuffer, string)
-
Run a recognition.
- RunTask(string, string)
-
Runs a task.
- SetAnchor(string, string)
-
Sets an anchor to a node.