Method SetOptionRecording
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
SetOptionRecording(IMaaOption<ControllerOption>?, bool)
Sets value to an option.
public static bool SetOptionRecording(this IMaaOption<ControllerOption>? opt, bool value)
Parameters
opt
IMaaOption<ControllerOption>?-
The option.
value
bool-
The value.
Returns
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
opt
orvalue
is not supported.
SetOptionRecording(IMaaOption<GlobalOption>?, bool)
Sets value to an option.
public static bool SetOptionRecording(this IMaaOption<GlobalOption>? opt, bool value)
Parameters
opt
IMaaOption<GlobalOption>?-
The option.
value
bool-
The value.
Returns
Exceptions
- ArgumentNullException
- NotSupportedException
-
The
opt
orvalue
is not supported.