-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMaaAgentClient.cs
More file actions
41 lines (32 loc) · 1.89 KB
/
Copy pathMaaAgentClient.cs
File metadata and controls
41 lines (32 loc) · 1.89 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
41
//------------------------------------------------------------------------------
// <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 MaaAgentClient
{
[LibraryImport("MaaAgentClient", StringMarshalling = StringMarshalling.Utf8)]
public static partial MaaAgentClientHandle MaaAgentClientCreate();
[LibraryImport("MaaAgentClient", StringMarshalling = StringMarshalling.Utf8)]
public static partial void MaaAgentClientDestroy(MaaAgentClientHandle client);
[LibraryImport("MaaAgentClient", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentClientBindResource(MaaAgentClientHandle client, MaaResourceHandle res);
[LibraryImport("MaaAgentClient", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentClientCreateSocket(MaaAgentClientHandle client, MaaStringBufferHandle identifier);
[LibraryImport("MaaAgentClient", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentClientConnect(MaaAgentClientHandle client);
[LibraryImport("MaaAgentClient", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
public static partial bool MaaAgentClientDisconnect(MaaAgentClientHandle client);
}