Method SetOptionDebugMode
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.dll
SetOptionDebugMode(IMaaOption<GlobalOption>?, bool)
Sets value to an option.
public static bool SetOptionDebugMode(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.