Merge sk/features-on-rynth-main (synced with rynth/main) into feat/mini-remote-drawer

Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	Plugins/RynthCore.Plugin.RynthAi/RynthAiPlugin.LocalFeatures.cs
This commit is contained in:
BlankenshipG 2026-10-08 22:24:39 -04:00
commit 4f2168da36
160 changed files with 15447 additions and 2566 deletions

View file

@ -21,7 +21,6 @@ public sealed partial class RynthAiPlugin
private Huds.HudIconCache? _hudIcons;
private Translate.ChatTranslator? _translator;
private Translate.TranslateUi? _translateUi;
private LegacyItemInfoUi? _itemInfoUi;
private CreatureData.UbMobSeedStore? _mobSeedStore;
// One-time overlay diagnostics (render thread only).
@ -117,15 +116,6 @@ public sealed partial class RynthAiPlugin
var huds = _huds;
_iltHub.MiniRemoteCommand = mode => "[ILT Hub] " + huds.HandleCommand("remote", mode);
_iltHub.MiniRemoteVisible = () => huds.MiniRemoteActive;
EnsureItemInfoUi();
}
/// <summary>Item Info window, created once settings exist.</summary>
private void EnsureItemInfoUi()
{
if (_dashboard == null || _itemInfoUi != null) return;
_itemInfoUi = new LegacyItemInfoUi(_dashboard.Settings);
_itemInfoUi.SetHooks(DescribeSelectedItemForPreview, PrintSelectedItemInfo, TestItemInfoChatType);
}
/// <summary>Pump-thread work for the ported features. Safe before login (each call is null-checked).</summary>
@ -160,7 +150,6 @@ public sealed partial class RynthAiPlugin
try { _huds?.OnLogout(); }
catch (Exception ex) { RynthLog.Exception(LogCat.Huds, ex, "logout"); }
_huds = null;
_itemInfoUi = null;
ResetGroundLoot(clearCaches: true);
if (!disposeTranslator) return;
try { _translator?.Dispose(); }
@ -205,9 +194,7 @@ public sealed partial class RynthAiPlugin
ImGui.SetCurrentContext(Host.ImGuiContext);
try
{
DetectItemInfoClick();
_navOverlay?.Render();
_itemInfoUi?.Render();
_iltHub?.Render();
_huds?.Render();
RenderTranslateWindow();
@ -249,14 +236,12 @@ public sealed partial class RynthAiPlugin
ImGui.SetCurrentContext(Host.ImGuiContext);
try
{
DetectItemInfoClick();
int pushedColors = LegacyDashboardRenderer.PushDashboardStyle();
try { _iltHub?.Render(); }
finally { ImGui.PopStyleColor(pushedColors); }
_huds?.Render();
RenderTranslateWindow();
_navOverlay?.Render();
_itemInfoUi?.Render();
}
catch (Exception ex)
{