52 lines
2.6 KiB
XML
52 lines
2.6 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.RynthNav</RootNamespace>
|
|
<AssemblyName>RynthCore.Plugin.RynthNav</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. Live object ids (v69) and WieldItem (v70) are behind Has* checks; without them portal avoidance/aiming and wand wielding fall back. -->
|
|
<RynthPluginMinEngineApi>66</RynthPluginMinEngineApi>
|
|
<RynthPluginDescription>Walks you to coordinates and towns, with route planning and the Atlas. Downloads its map (about 540 MB).</RynthPluginDescription>
|
|
<!-- Publish straight to the launcher-registered home (mirrors RynthVision). -->
|
|
<PublishDir>C:\Games\RynthSuite\RynthNav\</PublishDir>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Detour query side only (Recast baking stays in the offline RynthNav.Baker). -->
|
|
<PackageReference Include="DotRecast.Core" Version="2026.1.3" />
|
|
<PackageReference Include="DotRecast.Detour" Version="2026.1.3" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Keep the AOT trimmer from stripping DotRecast (reached partly via patterns it can't see). -->
|
|
<TrimmerRootAssembly Include="DotRecast.Core" />
|
|
<TrimmerRootAssembly Include="DotRecast.Detour" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<!-- Shared travel-route planner (same source the offline RynthNav.PortalGraph tool validates). -->
|
|
<Compile Include="..\..\Tools\RynthNav.PortalGraph\PortalRoute.cs" Link="PortalRoute.cs" />
|
|
<!-- Interfaces shared with other RynthSuite plugins (RynthAi uses RynthNav.Path). -->
|
|
<Compile Include="..\Shared\RynthNavPathApi.cs" Link="Shared\RynthNavPathApi.cs" />
|
|
<!-- One logged, guarded way to use an object (who used what, and why). -->
|
|
<Compile Include="..\Shared\UseAudit.cs" Link="Shared\UseAudit.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginCore\RynthCore.PluginCore.csproj" />
|
|
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginSdk\RynthCore.PluginSdk.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|