Table of Contents

Constructor MaaAgentClient

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

MaaAgentClient(string)

Creates a MaaFramework.Binding.MaaAgentClient instance.

protected MaaAgentClient(string identifier = "")

Parameters

identifier string

The unique identifier used to communicate with the agent server.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaAgentClient.MaaAgentClientCreateV2(System.IntPtr).

MaaAgentClient(ushort)

Creates a MaaFramework.Binding.MaaAgentClient instance with TCP connection.

protected MaaAgentClient(ushort port = 0)

Parameters

port ushort

The TCP port number (0-65535), 0 means auto-select.

Remarks

Wrapper of MaaFramework.Binding.Interop.Native.MaaAgentClient.MaaAgentClientCreateTcp(System.UInt16).