Table of Contents

Delegate IMaaAgentClient.AgentServerStartupMethod

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

Represents a method that starts the agent server process.

public delegate Process? IMaaAgentClient.AgentServerStartupMethod(string identifier, string nativeLibraryDirectory)

Parameters

identifier string

The unique identifier used to communicate with the agent server.

nativeLibraryDirectory string

The directory path where the MaaFramework native libraries are located.

Returns

Process?

A new System.Diagnostics.Process that is associated with the process resource, or null if no process resource is started.

Remarks

The implementation of this delegate is responsible for validating the provided parameters.

Ensure that identifier and nativeLibraryDirectory are valid and meet the requirements of the agent server process.