Table of Contents

Method GetRecognitionDetail<T>

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

GetRecognitionDetail<T>(long, out string, out string, out bool, IMaaRectBuffer?, out string, T?, IMaaListBuffer<T>?)

Gets the recognition detail.

bool GetRecognitionDetail<T>(long recognitionId, out string name, out string algorithm, out bool hit, IMaaRectBuffer? hitBox, out string detailJson, T? raw, IMaaListBuffer<T>? draws) where T : IMaaImageBuffer, new()

Parameters

recognitionId long

The recognition id.

name string

The recognition name.

algorithm string

The algorithm name of the recognition.

hit bool

A value indicating whether the recognition hits.

hitBox IMaaRectBuffer?

The hit box.

detailJson string

The recognition detail.

raw T?

The raw image on the recognition completing.

Only valid in debug mode.

draws IMaaListBuffer<T>?

The draw images on the recognition completed.

Only valid in debug mode.

Returns

bool

true if query was successful; otherwise, false.

Type Parameters

T