Table of Contents

Method MaaResourceGetDefaultActionParam

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

MaaResourceGetDefaultActionParam(nint, string, nint)

Get default action parameters for the specified type from DefaultPipelineMgr.

public static bool MaaResourceGetDefaultActionParam(nint res, string actionType, nint buffer)

Parameters

res nint

The resource handle.

actionType string

Action type string (e.g., "Click", "Swipe").

buffer nint

Output buffer for the JSON string of action parameters.

Returns

bool

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