Method RunAction
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
RunAction(string, IMaaRectBuffer, string, string)
Run an action.
public NodeDetail? RunAction(string entry, IMaaRectBuffer recognitionBox, string recognitionDetail, string pipelineOverride = "{}")Parameters
- entrystring
- 
The action entry name. 
- recognitionBoxIMaaRectBuffer
- 
The rect buffer containing current rect in the recognition result. 
- recognitionDetailstring
- 
The rect detail in the recognition result. 
- pipelineOverridestring
- 
The json used to override the pipeline. 
Returns
- NodeDetail?
- 
MaaFramework.Binding.NodeDetail if the operation was executed successfully; otherwise, null. 
Exceptions
RunAction(string, MaaRectBuffer, string, string)
Run an action.
public NodeDetail? RunAction(string entry, MaaRectBuffer recognitionBox, string recognitionDetail, string pipelineOverride = "{}")Parameters
- entrystring
- 
The action entry name. 
- recognitionBoxMaaRectBuffer
- 
The rect buffer containing current rect in the recognition result. 
- recognitionDetailstring
- 
The rect detail in the recognition result. 
- pipelineOverridestring
- 
The json used to override the pipeline. 
Returns
- NodeDetail?
- 
MaaFramework.Binding.NodeDetail if the operation was executed successfully; otherwise, null. 
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaContext.MaaContextRunAction(System.IntPtr,System.String,System.String,System.IntPtr,System.String).