Table of Contents

Method SetOption_RecoImageCacheLimit

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_RecoImageCacheLimit(IMaaOption<GlobalOption>?, nuint)

Recognition image cache limit

public static bool SetOption_RecoImageCacheLimit(this IMaaOption<GlobalOption>? opt, nuint value)

Parameters

opt IMaaOption<GlobalOption>?

The option.

value nuint

The value.

Returns

bool

true if the option was set successfully; otherwise, false.

Remarks

value: size_t, eg: 4096; val_size: sizeof(size_t)

default value is 4096

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.