Method ConvertToMaaOptionValue
- Namespace
- MaaFramework.Binding.Interop.Native
- Assembly
- MaaFramework.Binding.Native.dll
ConvertToMaaOptionValue(int)
Converts a System.Int32 to a MaaOptionValue (System.Byte[]).
public static byte[] ConvertToMaaOptionValue(int value)Parameters
valueint
Returns
- byte[]
ConvertToMaaOptionValue(bool)
Converts a System.Boolean to a MaaOptionValue (System.Byte[]).
public static byte[] ConvertToMaaOptionValue(bool value)Parameters
valuebool
Returns
- byte[]
ConvertToMaaOptionValue(string)
Converts a System.String to a MaaOptionValue (System.Byte[]).
public static byte[] ConvertToMaaOptionValue(string value)Parameters
valuestring
Returns
- byte[]