Table of Contents

Method SetValue

Namespace
MaaFramework.Binding.Buffers
Assembly
MaaFramework.Binding.Native.dll

SetValue(string, bool)

Sets a string into the MaaStringBuffer.

public bool SetValue(string str, bool useEx = true)

Parameters

str string

The string.

useEx bool

Uses MaaSetStringEx if true; otherwise, Uses MaaSetString.

Returns

bool

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

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).