Table of Contents

Method SetOption_DrawQuality

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_DrawQuality(IMaaOption<GlobalOption>?, int)

Image quality for draw images

public static bool SetOption_DrawQuality(this IMaaOption<GlobalOption>? opt, int value)

Parameters

opt IMaaOption<GlobalOption>?

The option.

value int

The value.

Returns

bool

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

Remarks

value: int, eg: 85; val_size: sizeof(int)

default value is 85, range: [0, 100]

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.