RynthServers/Plugins/RynthCore.Plugin.RynthILT/RynthCore.Plugin.RynthILT.csproj

152 lines
11 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<!--
RynthILT: features for Infinite Leaftide (ILT), the ACECustom server. ILT features live here,
not in RynthAi or the engine core. The engine shows its panels (the bar's ILT button: Bounties,
Guardian; /rc bounties, /rc guardian; the Skills panel's Progression tab) only on ILT
(RynthCore Compatibility/IltInfo.cs, which also asks RynthILT).
Bounty/ the Bounties window's tracker (ported from SilentKelpie's rynth/RynthSuite PR #11).
Hub/ the ILT Hub (SilentKelpie's): the Mini Remote's ILT tabs (Character, Banking, Gear,
Charms, Games), the Guardian, the progression planners and the attribute raiser,
server feature detection, the Rings inscription chain (Gear tab). Moved out of
RynthAi 2026-10-13: RynthAi's Mini Remote hosts the tabs through RynthILT.Hub, and
RynthILT borrows from RynthAi through RynthAi.Hub (Plugins/Shared/RynthServerHubApi.cs,
RynthAiHubApi.cs).
IltSettingsView/ a copy of the ILT settings (RynthCore's verdict, this character's override, the
ILT world names, the Hub's feature read) in its own window ("/ilt settings"),
with this character's ILT options (Vaulted Dungeons master switch, Handler
ring evade, T11 item augs).
Moved out of RynthAi 2026-10-20 (Hub/): the Pets tab's ACECustom parts (IltPetAutomation:
pet charms, summon from empty, siphon capture), the Empyrean Handler ring
detection (IltRingEvade; RynthAi does the back-away), the T11 /aug counters
and "/ilt t11" (IltT11; RynthAi keeps the loot keys), the Vaulted Dungeons
switch, the Remote tab's ILT parts, the Mini Remote tab views on the rail
(IltSectionsManifest.cs) and the Leaftide trinket list (the profile).
IltFellowship/ ILT's /fship commands as buttons ("/ilt fellow").
Moved out of RynthOracle 2026-10-21 (Hub/): the Dynamic Stamps (IltDynamicStamps, RynthILT's own
Quests section page and "/ilt stamps"; SilentKelpie's) and a window for the
pet breeding tracker ("/ilt breeding").
-->
<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.RynthILT</RootNamespace>
<AssemblyName>RynthCore.Plugin.RynthILT</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. Nothing above the v66 baseline: every
newer call (plugin interfaces v68, live object ids v69, vendor trade v67, confirmation
answers v85, the server list v86, ...) is behind its Has* check, as it was in RynthAi. -->
<RynthPluginMinEngineApi>66</RynthPluginMinEngineApi>
<!-- RynthILT is ILT's server plugin: RynthCore loads it only for clients connecting to ILT, or late
when the world announces an ILT name (SilentKelpie's server plugins). Same lists as RynthCore's
IltDetect defaults. -->
<RynthPluginServerId>ilt</RynthPluginServerId>
<RynthPluginServerName>Infinite Leaftide</RynthPluginServerName>
<RynthPluginServerHosts>infiniteleaftide.online</RynthPluginServerHosts>
<RynthPluginServerWorldNames>InfiniteLeaftide|*Leaftide*</RynthPluginServerWorldNames>
<RynthPluginDescription>Infinite Leaftide (ACECustom) features: the ILT Hub (the Mini Remote's ILT tabs: banking, gear, charms, games, Vaulted Dungeons; the Pets tab's charms, siphon capture and breeding), the Guardian, the Dynamic Stamps, bounties, progression, the attribute raiser, the ring inscription chain, the Empyrean Handler ring evade, the T11 loot counters, the ILT settings and the /fship fellowship commands.</RynthPluginDescription>
</PropertyGroup>
<ItemGroup>
<!-- RynthAi hosts the ILT tabs in its Mini Remote and lends its quest tracker, spell names and
loot matching (RynthAi.Hub). Optional: without it the panels and commands still work. -->
<RynthPluginDependency Include="RynthAi" Optional="true" />
</ItemGroup>
<ItemGroup>
<!-- The two interfaces between RynthILT and RynthAi (linked into both plugins): RynthServer.Hub, which
RynthILT serves (also as "RynthILT.Hub", RynthIltHubApi.cs: its own names), and RynthAi.Hub. -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\RynthServerHubApi.cs" Link="Shared\RynthServerHubApi.cs" />
<Compile Include="..\Shared\RynthIltHubApi.cs" Link="Shared\RynthIltHubApi.cs" />
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\RynthAiHubApi.cs" Link="Shared\RynthAiHubApi.cs" />
<!-- Chat types and the line-start marker (the Empyrean Handler's ring line, Hub/IltRingEvade.cs). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\ChatSource.cs" Link="Shared\ChatSource.cs" />
<!-- "RynthAi.Activity": what the bot is doing (the Vaulted Dungeons keeper waits out combat and buffing). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\RynthAiActivityApi.cs" Link="Shared\RynthAiActivityApi.cs" />
<!-- The pet-capture success lines (shared with RynthAi's Pets tab): they count as a kill for Vaulted Dungeons' timer. -->
<Compile Include="..\Shared\PetCaptureLines.cs" Link="Shared\PetCaptureLines.cs" />
<!-- "RynthILT.Data": the charms list and bank balances for other plugins (DataInterface.cs). -->
<Compile Include="..\Shared\RynthIltDataApi.cs" Link="Shared\RynthIltDataApi.cs" />
<!-- "RynthILT.Server": the feature / fellowship / quest bonus profile for other plugins (ServerInterface.cs). -->
<Compile Include="..\Shared\RynthIltServerApi.cs" Link="Shared\RynthIltServerApi.cs" />
<!-- RynthCore's server list (API v86): the ILT verdict the Hub follows (IltSettingsView/). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\EngineServerState.cs" Link="Shared\EngineServerState.cs" />
<!-- "RynthServer.Profile": ILT's settings and tinkering salvage (Hub/IltSalvage.cs) for other
plugins (ProfileInterface.cs), with the server plugins' own record and JSON writer. -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\RynthServerProfileApi.cs" Link="Shared\RynthServerProfileApi.cs" />
<Compile Include="..\Shared\ServerPack\ServerPackInfo.cs" Link="ServerPack\ServerPackInfo.cs" />
<Compile Include="..\Shared\ServerPack\ServerPackProfile.cs" Link="ServerPack\ServerPackProfile.cs" />
<!-- ImGui.NET bound to the engine's cimgui (the tabs draw inside RynthAi's Mini Remote). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\ImGuiNativeBinding.cs" Link="Shared\ImGuiNativeBinding.cs" />
<!-- ImGui text calls for non-literal text ('%' escaped; RynthAi links the same file). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\SafeImGui.cs" Link="Shared\SafeImGui.cs" />
<!-- Install-folder resolver (the ILT Hub files left in the RynthAi folder). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\RynthInstallPaths.cs" Link="Shared\RynthInstallPaths.cs" />
<!-- One logged, guarded way to use an object (the Guardian's vendor). -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\UseAudit.cs" Link="Shared\UseAudit.cs" />
<!-- Save failures (its own files and the copies migrated from RynthAi) said in chat with the
reason and the fix, as RynthAi's are. -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\DataWriteGuard.cs" Link="Shared\DataWriteGuard.cs" />
<!-- T11 (ACECustom tier 11+ gear): the "/aug" reader, the counters and the item text parser (Hub/IltT11.cs,
"/ilt t11"). RynthAi keeps the loot keys and evaluator; RynthILT reports the counters to it. -->
<Compile Include="$(RynthSuiteRoot)Shared\RynthCore.LootSdk\T11\T11Catalog.cs" Link="Shared\T11\T11Catalog.cs" />
<Compile Include="$(RynthSuiteRoot)Shared\RynthCore.LootSdk\T11\T11ItemInfo.cs" Link="Shared\T11\T11ItemInfo.cs" />
<Compile Include="$(RynthSuiteRoot)Shared\RynthCore.LootSdk\T11\T11Keys.cs" Link="Shared\T11\T11Keys.cs" />
<Compile Include="$(RynthSuiteRoot)Shared\RynthCore.LootSdk\T11\T11PlayerAugs.cs" Link="Shared\T11\T11PlayerAugs.cs" />
<!-- AcObjectClass (the item classes the gear tools check). -->
<Compile Include="$(RynthSuiteRoot)Shared\RynthCore.LootSdk\AcGameEnums.cs" Link="Shared\AcGameEnums.cs" />
<!-- ILT's /fship commands (IltFellowship/): the shared command list format and its button panel. -->
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\ServerCommandShare.cs" Link="Shared\ServerCommandShare.cs" />
<Compile Include="$(RynthSuiteRoot)Plugins\Shared\ServerCommandPanel.cs" Link="Shared\ServerCommandPanel.cs" />
<!-- Dynamic Stamps (Hub/IltDynamicStamps.cs, from RynthOracle 2026-10-21): RynthOracle's /myquests parser
and its helpers, linked as RynthConquest links them, so both read the flags alike; and its
coordinates reader (the stamps' RynthNav targets). -->
<Compile Include="$(RynthSuiteRoot)Plugins\RynthCore.Plugin.RynthOracle\Data\QuestFlags.cs" Link="Shared\Oracle\QuestFlags.cs" />
<Compile Include="$(RynthSuiteRoot)Plugins\RynthCore.Plugin.RynthOracle\Data\TimeText.cs" Link="Shared\Oracle\TimeText.cs" />
<Compile Include="$(RynthSuiteRoot)Plugins\RynthCore.Plugin.RynthOracle\Data\Csv.cs" Link="Shared\Oracle\Csv.cs" />
<Compile Include="$(RynthSuiteRoot)Plugins\RynthCore.Plugin.RynthOracle\Data\NavTargets.cs" Link="Shared\Oracle\NavTargets.cs" />
</ItemGroup>
<ItemGroup>
<!-- Infinite Leaftide's Dynamic Stamps (the players' ExtraDyn sheet, 10.13.2026): Hub/IltDynamicStampList.cs. -->
<EmbeddedResource Include="Resources\dynstamps.csv" LogicalName="RynthILT.dynstamps.csv" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="ImGui.NET" Version="1.91.6.1" />
</ItemGroup>
<ItemGroup>
<TrimmerRootAssembly Include="ImGui.NET" />
</ItemGroup>
<ItemGroup>
<!-- Offline tests (Tools\RynthILT.Tests) reach internal types. Test-only; no runtime effect. -->
<InternalsVisibleTo Include="RynthILT.Tests" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginCore\RynthCore.PluginCore.csproj" />
<ProjectReference Include="..\..\..\RynthCore\src\RynthCore.PluginSdk\RynthCore.PluginSdk.csproj" />
</ItemGroup>
<!-- The engine supplies cimgui (RynthCore.cimgui.dll); ImGui.NET's own never ships beside the plugin. -->
<Target Name="RemoveBundledImGuiNativeFromBuild" AfterTargets="Build">
<Delete Files="$(OutputPath)cimgui.dll" Condition="Exists('$(OutputPath)cimgui.dll')" />
</Target>
<Target Name="RemoveBundledImGuiNativeFromPublish" AfterTargets="Publish" Condition="'$(PublishDir)' != ''">
<Delete Files="$(PublishDir)cimgui.dll" Condition="Exists('$(PublishDir)cimgui.dll')" />
</Target>
</Project>