From 9d3d6d4195e58c51166811d8357a331d53c4cdd4 Mon Sep 17 00:00:00 2001 From: "1992414357@qq.com" <1992414357@qq.com> Date: Thu, 29 May 2025 07:55:41 +0800 Subject: 正在编写 C# 绑定部分 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/runConfigurations/Release_Project.xml | 2 +- .idea/runConfigurations/Run_Client_Console.xml | 19 +++ .idea/runConfigurations/Run_Server_Console.xml | 19 +++ core/src/pad_service/client.rs | 24 +++- core_c/src/data_c/connection_callback_message_c.rs | 30 ++-- core_c/src/data_c/connection_message_c.rs | 20 +-- core_c/src/data_c/control_message_c.rs | 28 ++-- core_c/src/data_c/game_message_c.rs | 18 +-- core_c/src/data_c/game_profile_c.rs | 101 ++++++++++--- core_c/src/data_c/player_info_c.rs | 96 ++++++++++--- core_c/src/data_c/player_info_list_c.rs | 4 +- core_c/src/lib.rs | 4 +- core_c/src/service_c/padclient.rs | 99 ++++++++++--- core_c/src/service_c/padserver.rs | 65 +++++---- .../NoGamepadsSharp_Core/Data/HsvColor.cs | 158 +++++++++++++++++++++ .../NoGamepadsSharp_Core/Data/PlayerInfo.cs | 15 +- .../net8.0/NoGamepadsSharp_Core.AssemblyInfo.cs | 2 +- .../NoGamepadsSharp_Core.AssemblyInfoInputs.cache | 2 +- .../NoGamepadsSharp_Execute/Program.cs | 13 +- .../Debug/net8.0/NoGamepadsSharp_Execute.deps.json | 23 +++ .../bin/Debug/net8.0/NoGamepadsSharp_Execute.dll | Bin 0 -> 5120 bytes .../bin/Debug/net8.0/NoGamepadsSharp_Execute.exe | Bin 0 -> 139264 bytes .../bin/Debug/net8.0/NoGamepadsSharp_Execute.pdb | Bin 0 -> 10760 bytes .../NoGamepadsSharp_Execute.runtimeconfig.json | 12 ++ .../bin/Debug/net8.0/nogamepads_lib_c.dll | Bin 0 -> 2128896 bytes .../net8.0/NoGamepadsSharp_Execute.AssemblyInfo.cs | 2 +- ...oGamepadsSharp_Execute.AssemblyInfoInputs.cache | 2 +- ...adsSharp_Execute.csproj.CoreCompileInputs.cache | 1 + ...mepadsSharp_Execute.csproj.FileListAbsolute.txt | 15 ++ .../obj/Debug/net8.0/NoGamepadsSharp_Execute.dll | Bin 0 -> 5120 bytes .../NoGamepadsSharp_Execute.genruntimeconfig.cache | 1 + .../obj/Debug/net8.0/NoGamepadsSharp_Execute.pdb | Bin 0 -> 10760 bytes .../net8.0/NoGamepadsSharp_Execute.sourcelink.json | 1 + .../obj/Debug/net8.0/apphost.exe | Bin 0 -> 139264 bytes .../Debug/net8.0/ref/NoGamepadsSharp_Execute.dll | Bin 0 -> 6144 bytes .../net8.0/refint/NoGamepadsSharp_Execute.dll | Bin 0 -> 6144 bytes .../obj/rider.project.model.nuget.info | 1 + release/0.1.0/bin/nogpadc.exe | Bin 2237440 -> 2237440 bytes release/0.1.0/bin/nogpads.exe | Bin 2194432 -> 2195456 bytes release/0.1.0/bridge/nogamepads.h | 106 +++++++++----- release/0.1.0/bridge/nogamepads_cpp.h | 94 +++++++----- release/0.1.0/bridge/nogamepads_lib_c.dll | Bin 2114560 -> 2128896 bytes 42 files changed, 755 insertions(+), 222 deletions(-) create mode 100644 .idea/runConfigurations/Run_Client_Console.xml create mode 100644 .idea/runConfigurations/Run_Server_Console.xml create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Core/Data/HsvColor.cs create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/bin/Debug/net8.0/NoGamepadsSharp_Execute.deps.json create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/bin/Debug/net8.0/NoGamepadsSharp_Execute.dll create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/bin/Debug/net8.0/NoGamepadsSharp_Execute.exe create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/bin/Debug/net8.0/NoGamepadsSharp_Execute.pdb create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/bin/Debug/net8.0/NoGamepadsSharp_Execute.runtimeconfig.json create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/bin/Debug/net8.0/nogamepads_lib_c.dll create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/NoGamepadsSharp_Execute.csproj.CoreCompileInputs.cache create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/NoGamepadsSharp_Execute.csproj.FileListAbsolute.txt create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/NoGamepadsSharp_Execute.dll create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/NoGamepadsSharp_Execute.genruntimeconfig.cache create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/NoGamepadsSharp_Execute.pdb create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/NoGamepadsSharp_Execute.sourcelink.json create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/apphost.exe create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/ref/NoGamepadsSharp_Execute.dll create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/Debug/net8.0/refint/NoGamepadsSharp_Execute.dll create mode 100644 core_csharp/NoGamepadsSharp/NoGamepadsSharp_Execute/obj/rider.project.model.nuget.info diff --git a/.idea/runConfigurations/Release_Project.xml b/.idea/runConfigurations/Release_Project.xml index 8cd901d..b614f1b 100644 --- a/.idea/runConfigurations/Release_Project.xml +++ b/.idea/runConfigurations/Release_Project.xml @@ -14,7 +14,7 @@