Method TrySetList
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.dll
TrySetList(THandle, IEnumerable<string>)
Sets the string list to a MaaStringListBuffer.
public static abstract bool TrySetList(THandle handle, IEnumerable<string> stringList)Parameters
handleTHandle-
The MaaStringListBufferHandle.
stringListIEnumerable<string>-
The list of strings.
Returns
TrySetList(IEnumerable<string>, Func<THandle, bool>)
Sets the string list to a function using MaaStringListBuffer.
public static abstract bool TrySetList(IEnumerable<string> stringList, Func<THandle, bool> readBuffer)Parameters
stringListIEnumerable<string>-
The list of strings.
readBufferFunc<THandle, bool>-
The function used to read the string list to the list buffer.