Table of Contents

Method Get

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

Get(nint)

Gets a string list from a MaaStringListBufferHandle.

public static IList<string> Get(nint handle)

Parameters

handle nint

The MaaStringListBufferHandle.

Returns

IList<string>

The string list.

Get(out IList<string>, Func<nint, bool>)

Gets a string list from a MaaStringListBufferHandle.

public static bool Get(out IList<string> list, Func<nint, bool> func)

Parameters

list IList<string>

The string list.

func Func<nint, bool>

A function that takes a MaaStringListBufferHandle and returns a boolean indicating success or failure.

Returns

bool

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