Method Set
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.Native.dll
Set(nint, string, bool)
Sets a string into the MaaStringBuffer.
public static bool Set(nint handle, string str, bool useEx = true)
Parameters
handle
nintstr
string-
The string.
useEx
bool-
Uses MaaSetStringEx if true; otherwise, Uses MaaSetString.
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaBuffer.MaaStringBufferSet(System.IntPtr,System.String) and MaaFramework.Binding.Interop.Native.MaaBuffer.MaaStringBufferSetEx(System.IntPtr,System.Byte[],System.UInt64).