Table of Contents

Method RunAction

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

RunAction(string, string, IMaaRectBuffer<T>, string)

Run an action.

NodeDetail? RunAction(string entry, string actionOverride, IMaaRectBuffer<T> recognitionBox, string recognitionDetail)

Parameters

entry string

The action entry name.

actionOverride string

The json used to override the action.

recognitionBox IMaaRectBuffer<T>

The rect buffer containing current rect in the recognition result.

recognitionDetail string

The rect detail in the recognition result.

Returns

NodeDetail?

MaaFramework.Binding.NodeDetail if the operation was executed successfully; otherwise, null.

Exceptions

ArgumentNullException