RynthSuite/Plugins/RynthCore.Plugin.RynthNet/RynthCore.Plugin.RynthNet.csproj

62 lines
3.1 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0-windows</TargetFramework>
<PlatformTarget>x86</PlatformTarget>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<OutputType>Library</OutputType>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Nullable>enable</Nullable>
<PublishAot>true</PublishAot>
<NativeLib>Shared</NativeLib>
<InvariantGlobalization>true</InvariantGlobalization>
<IlcOptimizationPreference>Size</IlcOptimizationPreference>
<StripSymbols>false</StripSymbols>
<RootNamespace>RynthCore.Plugin.RynthNet</RootNamespace>
<AssemblyName>RynthCore.Plugin.RynthNet</AssemblyName>
<Platforms>x86</Platforms>
<!-- Plugin manifest (embedded in the DLL; Plugins\Directory.Build.targets). minEngineApi is the
highest API use NOT behind a Has*/version check. The RynthAi status lookup (GetPluginInterface, v68) is guarded; networking needs nothing above v66. -->
<RynthPluginMinEngineApi>66</RynthPluginMinEngineApi>
<RynthPluginDescription>Lets the RynthCore clients on this PC talk to each other: shared commands, vitals, positions and bot state.</RynthPluginDescription>
</PropertyGroup>
<ItemGroup>
<!-- Plugins it can use when they are loaded (looked up at run time; optional, so they never block or reorder it). -->
<RynthPluginDependency Include="RynthAi" Optional="true" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginCore\RynthCore.PluginCore.csproj" />
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginSdk\RynthCore.PluginSdk.csproj" />
</ItemGroup>
<ItemGroup>
<!-- RynthNet's own interface (RynthNet.Net), and RynthAi's two it reads for the bot state. -->
<Compile Include="..\Shared\RynthNetApi.cs" Link="Shared\RynthNetApi.cs" />
<Compile Include="..\Shared\RynthAiStatusApi.cs" Link="Shared\RynthAiStatusApi.cs" />
<Compile Include="..\Shared\RynthAiScriptApi.cs" Link="Shared\RynthAiScriptApi.cs" />
</ItemGroup>
<ItemGroup>
<!-- Install-folder resolver (env, HKCU, HKLM, default C:\Games). Read only; same file as RynthCore src\Shared. -->
<Compile Include="..\Shared\RynthInstallPaths.cs" Link="Shared\RynthInstallPaths.cs" />
</ItemGroup>
<ItemGroup>
<!-- The Characters window (2026-10-21): RynthNet draws it with ImGui.NET bound to the engine's
cimgui, in the engine's look (Shared\RynthUi; plugin API v89 hosts the window). -->
<Compile Include="..\Shared\ImGuiNativeBinding.cs" Link="Shared\ImGuiNativeBinding.cs" />
<Compile Include="..\Shared\SafeImGui.cs" Link="Shared\SafeImGui.cs" />
<Compile Include="..\Shared\RynthUi\RynthUi.cs" Link="Shared\RynthUi\RynthUi.cs" />
<Compile Include="..\Shared\RynthUi\RynthIcons.cs" Link="Shared\RynthUi\RynthIcons.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
<TrimmerRootAssembly Include="ImGui.NET" />
</ItemGroup>
<ItemGroup>
<!-- Tools\RynthNet.Tests reaches the Characters window's internal types. Test-only. -->
<InternalsVisibleTo Include="RynthNet.Tests" />
</ItemGroup>
</Project>