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)

Overrides the image which name from the value of property field e.g. "template".

OverrideNext(string, IEnumerable<string>)

Overrides the property field "next" in a node.

OverridePipeline(string)

Overrides a pipeline.

RunAction(string, IMaaRectBuffer, string, string)

Runs an action.

RunActionDirect(string, string, IMaaRectBuffer, string)

Runs action directly with type and parameters, without requiring a pipeline entry.

RunRecognition(string, IMaaImageBuffer, string)

Runs a recognition.

RunRecognitionDirect(string, string, IMaaImageBuffer)

Runs recognition directly with type and parameters, without requiring a pipeline entry.

RunTask(string, string)

Runs a task.

SetAnchor(string, string)

Sets an anchor to a node.

WaitFreezes(ulong, IMaaRectBuffer?, string)

Waits for screen to stabilize (freeze).

WaitFreezes(TimeSpan, IMaaRectBuffer?, string)

Waits for screen to stabilize (freeze).