Method TrySetValues
- Namespace
- MaaFramework.Binding.Buffers
- Assembly
- MaaFramework.Binding.dll
TrySetValues(THandle, int, int, int, int)
Sets values to a MaaRectBuffer.
public static abstract bool TrySetValues(THandle handle, int x, int y, int width, int height)Parameters
handleTHandle-
The MaaRectBufferHandle.
xint-
The horizontal coordinate.
yint-
The vertical coordinate.
widthint-
The width.
heightint-
The height.
Returns
TrySetValues(int, int, int, int, Func<THandle, bool>)
Sets values to a function using MaaRectBuffer.
public static abstract bool TrySetValues(int x, int y, int width, int height, Func<THandle, bool> readBuffer)Parameters
xint-
The horizontal coordinate.
yint-
The vertical coordinate.
widthint-
The width.
heightint-
The height.
readBufferFunc<THandle, bool>-
The function used to read the values from the buffer.