Table of Contents

Method SetOption_Recording

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetOption_Recording(IMaaOption<ControllerOption>?, bool)

Sets value to an option.

public static bool SetOption_Recording(this IMaaOption<ControllerOption>? opt, bool value)

Parameters

opt IMaaOption<ControllerOption>?

The option.

value bool

The value.

Returns

bool

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

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.

SetOption_Recording(IMaaOption<GlobalOption>?, bool)

Sets value to an option.

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

Parameters

opt IMaaOption<GlobalOption>?

The option.

value bool

The value.

Returns

bool

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

Exceptions

ArgumentNullException
NotSupportedException

The opt or value is not supported.