Table of Contents

Interface IMaaContext

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

An interface defining wrapped members for MaaContext.

public interface IMaaContext : ICloneable

Implements

Properties

IsCancellationRequested

Gets whether cancellation has been requested for this context.

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".

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.

RunRecognition(string, IMaaImageBuffer, string)

Run a recognition.

RunTask(string, string)

Runs a task.

SetAnchor(string, string)

Sets an anchor to a node.