Table of Contents

Method GetCachedImage

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

GetCachedImage(IMaaImageBuffer)

Gets the cached image.

public bool GetCachedImage(IMaaImageBuffer maaImage)

Parameters

maaImage IMaaImageBuffer

An MaaFramework.Binding.Buffers.IMaaImageBuffer used to get the cached image.

Returns

bool

true if the operation was executed successfully; otherwise, false.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaControllerCachedImage(System.IntPtr,System.IntPtr).

Exceptions

ArgumentNullException

GetCachedImage(IMaaImageBuffer<nint>)

Gets the cached image.

public bool GetCachedImage(IMaaImageBuffer<nint> maaImage)

Parameters

maaImage IMaaImageBuffer<nint>

An MaaFramework.Binding.Buffers.IMaaImageBuffer used to get the cached image.

Returns

bool

true if the operation was executed successfully; otherwise, false.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaController.MaaControllerCachedImage(System.IntPtr,System.IntPtr).

Exceptions

ArgumentNullException