RynthSuite/Plugins/RynthCore.Plugin.RynthAi/LegacyUi/RynthAiJsonContext.cs
BlankenshipG 09b14d4ed1 feat(rynthai): ILT Hub, HUDs, item info, chat translation, ground loot and nav editing
- ILT Hub (overlay window, /ra hub): character progression, pets, quests,
  gear, banking, guardian, buff keepers, session rates, USD import.
- Floating HUDs: combat tracker, item count HUD, Mini Remote (/ra remote,
  /ra huds).
- Item info (Mag-style describer) on select, with its own settings window.
- Chat translation (/ra translate) for chosen channels.
- Ground loot: loose items matching the loot profile are picked up when no
  corpse is in range (CorpseOpenController).
- Nav: breadcrumb recorder, route overlay, and the route editor commands
  the engine Nav panel sends (multi-select move/duplicate/delete, reverse,
  snap to path, pauses, portals, simplify, trail -> route).
- Pets: refill-loop guard for essences the server just confirmed full;
  optional ILT Hub hooks (summon on empty, hold, yield a cosmetic pet).
- QuestTracker: quiet refreshes, Disabled / LastStatus for the hub.
- WorldObjectCache: typed items (keys, gems, comps, food) are placed in
  inventory or landscape by ownership instead of staying Unknown.
- Install-aware data folders (RynthInstallPaths) and a per-category
  diagnostics log (Diagnostics/RynthLog, diagnostics.json).
- Monster Editor: VirindiTank USD import and "Import UB damage insights"
  (ub-mob-seed.json); RynthAi loads the seed (UbMobSeedStore).

Kept as on rynth/main: combat (ammo, off-hand/shield rules), AutoStack in
InventoryManager, LegacyAdvancedSettingsUi and the version stamping. No
host API slots are used; new engine data comes from optional exports
(RynthPluginRenderOverlay, RynthPluginGetProgressionJson,
RynthPluginGetCharmsJson).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-05 16:52:13 -04:00

32 lines
1.7 KiB
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
using RynthCore.Plugin.RynthAi.CreatureData;
using RynthCore.Plugin.RynthAi.LegacyUi;
namespace RynthCore.Plugin.RynthAi;
[JsonSerializable(typeof(LegacyUiSettings))]
[JsonSerializable(typeof(List<MonsterRule>), TypeInfoPropertyName = "MonsterRuleList")]
[JsonSerializable(typeof(List<ConsumableRule>), TypeInfoPropertyName = "ConsumableRuleList")]
[JsonSerializable(typeof(Dictionary<string, CreatureProfile>), TypeInfoPropertyName = "CreatureProfileDict")]
[JsonSerializable(typeof(MonstersBridgePayload))]
[JsonSerializable(typeof(SettingsBridgePayload))]
[JsonSerializable(typeof(NavBridgePayload))]
[JsonSerializable(typeof(ItemsBridgePayload))]
[JsonSerializable(typeof(NavCommand))]
[JsonSerializable(typeof(MetaRuleDto))]
[JsonSerializable(typeof(MetaCommand))]
[JsonSerializable(typeof(RynthCore.Plugin.RynthAi.Meta.MetaScheduleConfig))]
// UB seed, translation, diagnostics, ILT Hub, HUD and item info files persist through this
// context (NativeAOT cannot reflect).
[JsonSerializable(typeof(RynthCore.CreatureSeed.UbMobSeedFile))]
[JsonSerializable(typeof(RynthCore.Plugin.RynthAi.Translate.TranslateSettings))]
[JsonSerializable(typeof(RynthCore.Plugin.RynthAi.RynthLogConfig))]
[JsonSerializable(typeof(RynthCore.Plugin.RynthAi.Huds.HudState))]
[JsonSerializable(typeof(RynthCore.Plugin.RynthAi.IltHub.IltHubState))]
[JsonSerializable(typeof(System.Collections.Generic.List<RynthCore.Plugin.RynthAi.IltHub.IltBankTransaction>), TypeInfoPropertyName = "IltBankTransactionList")]
[JsonSourceGenerationOptions(
WriteIndented = true,
IncludeFields = true,
PropertyNameCaseInsensitive = true)]
internal partial class RynthAiJsonContext : JsonSerializerContext { }