-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMaaAgentServer.cs
More file actions
40 lines (31 loc) · 1.8 KB
/
MaaAgentServer.cs
File metadata and controls
40 lines (31 loc) · 1.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
#pragma warning disable CS1573 // 参数在 XML 注释中没有匹配的 param 标记
#pragma warning disable CS1591 // 缺少对公共可见类型或成员的 XML 注释
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.Marshalling;
namespace MaaFramework.Binding.Interop.Native;
public static partial class MaaAgentServer
{
[LibraryImport("MaaAgentServer", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentServerRegisterCustomRecognition(string name, MaaCustomRecognitionCallback recognition, nint transArg);
[LibraryImport("MaaAgentServer", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentServerRegisterCustomAction(string name, MaaCustomActionCallback action, nint transArg);
[LibraryImport("MaaAgentServer", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentServerStartUp(string identifier);
[LibraryImport("MaaAgentServer", StringMarshalling = StringMarshalling.Utf8)]
public static partial void MaaAgentServerShutDown();
[LibraryImport("MaaAgentServer", StringMarshalling = StringMarshalling.Utf8)]
public static partial void MaaAgentServerJoin();
[LibraryImport("MaaAgentServer", StringMarshalling = StringMarshalling.Utf8)]
public static partial void MaaAgentServerDetach();
}