RynthSuite/Tools/RynthCore.RynthAiTests/RynthCore.RynthAiTests.csproj

74 lines
5.7 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<!--
Test runner for RynthAi's pure logic (no game, no engine, no host). The plugin itself is
a NativeAOT x86 library on net10.0-windows, so a plain net10.0 exe cannot reference it
(NU1201); instead the dependency-free source files are compiled in here directly, the
same way RynthCore.MissileArcTests and RynthCore.AutoVendorTests do it. See README.md
for how to reach code that is not dependency-free yet (seams, and the project-reference
route, which works only as a net10.0-windows win-x86 exe).
Run: dotnet run -c Release (exit 0 = pass, 1 = fail; a name filter can follow, see Program.cs)
-->
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<RootNamespace>RynthCore.RynthAiTests</RootNamespace>
</PropertyGroup>
<ItemGroup>
<!-- Nav: .nav route parsing / writing (LegacyUi/NavRouteParser.cs has no dependencies). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\LegacyUi\NavRouteParser.cs" Link="Linked\NavRouteParser.cs" />
<!-- Nav folders: the picker's list with subfolders, and VirindiTank navs in the wrong folder (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\LegacyUi\NavFileList.cs" Link="Linked\NavFileList.cs" />
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\LegacyUi\StrayNavs.cs" Link="Linked\StrayNavs.cs" />
<!-- Combat: the melee/missile stall ladder (pure timing state, time passed in). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\Combat\CombatStallWatchdog.cs" Link="Linked\CombatStallWatchdog.cs" />
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\Combat\PointBlankFacing.cs" Link="Linked\PointBlankFacing.cs" />
<!-- Buff items: which buff item to use now, and the list edits (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\Combat\BuffItemPicker.cs" Link="Linked\BuffItemPicker.cs" />
<!-- Combat: the Dirty Fighting rotation's height choice and landing-line parser (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\Combat\DirtyFightingHeights.cs" Link="Linked\DirtyFightingHeights.cs" />
<!-- Weapon weakness selection: element ranking per monster. Its only outside reference is
CreatureProfileStore.Folder (the user override folder), faked in Fakes\. -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\CreatureData\CreatureWeakness.cs" Link="Linked\CreatureWeakness.cs" />
<!-- Learned per-monster damage (System only), for the Aelrynth difficulty-tier tests. -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\CreatureData\MonsterDamageStore.cs" Link="Linked\MonsterDamageStore.cs" />
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\CreatureData\PlayerWeenies.cs" Link="Linked\PlayerWeenies.cs" />
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\CreatureData\ShieldFacing.cs" Link="Linked\ShieldFacing.cs" />
<!-- Loot: the measured loot-timer baseline and its [LootSettings] log line. -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\LootBaseline.cs" Link="Linked\LootBaseline.cs" />
<!-- Active Gear: is a worn item's magic on, and its mana's time left (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\ActiveGear\GearActivation.cs" Link="Linked\GearActivation.cs" />
<!-- RynthChat: the channel classifier (no dependencies). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthChat\ChatClassifier.cs" Link="Linked\ChatClassifier.cs" />
<!-- RynthChat: the scrollback ring and its player-chat ring (0.4.0; no dependencies). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthChat\ChatBuffer.cs" Link="Linked\ChatBuffer.cs" />
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthChat\ChatLine.cs" Link="Linked\ChatLine.cs" />
<!-- Item info: per-part colours of the one-line layout (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\ItemInfo\ItemInfoPartColors.cs" Link="Linked\ItemInfoPartColors.cs" />
<!-- Make kits: the kit recipes and the pack-to-combine planner (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\MiniRemote\Crafting\KitPlanner.cs" Link="Linked\KitPlanner.cs" />
<!-- Make kits when low: when a run may start, what stops one, the waits (System only). -->
<Compile Include="..\..\Plugins\RynthCore.Plugin.RynthAi\MiniRemote\Crafting\KitAuto.cs" Link="Linked\KitAuto.cs" />
</ItemGroup>
<ItemGroup>
<!-- CreatureWeakness reads these from the executing assembly under the plugin's resource
names, so they are embedded here under the same logical names. -->
<EmbeddedResource Include="..\..\Plugins\RynthCore.Plugin.RynthAi\CreatureData\creature_resists.tsv" Link="Linked\creature_resists.tsv" LogicalName="RynthCore.Plugin.RynthAi.CreatureData.creature_resists.tsv" />
<EmbeddedResource Include="..\..\Plugins\RynthCore.Plugin.RynthAi\CreatureData\creature_types.txt" Link="Linked\creature_types.txt" LogicalName="RynthCore.Plugin.RynthAi.CreatureData.creature_types.txt" />
<EmbeddedResource Include="..\..\Plugins\RynthCore.Plugin.RynthAi\Data\creature_weakness.json" Link="Linked\creature_weakness.json" LogicalName="RynthCore.Plugin.RynthAi.Data.creature_weakness.json" />
</ItemGroup>
<ItemGroup>
<!-- Hand-written .nav files for NavFormatTests. -->
<None Include="Fixtures\**\*" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
<!-- Install-folder resolver (env, HKCU, HKLM, default C:\Games). Read only; same file as RynthCore src\Shared. -->
<Compile Include="..\..\Plugins\Shared\RynthInstallPaths.cs" Link="Shared\RynthInstallPaths.cs" />
</ItemGroup>
</Project>