RynthSuite/Tools/RynthCore.MonsterEditor/JsonContext.cs
BlankenshipG 2e54796b15 Merge rynth/main (2026.10.8.1) into sk/features-on-rynth-main
Resolves the conflicts that kept PR #2 from merging. Where rynth/main
already ships the same feature, its version wins: the shared read-only
RynthInstallPaths, /ra iteminfo (PR #2's Mag-Tools item info window is
dropped), pet essence refill trust, object filing, spell metadata and the
Monster Editor's Category / MatchExpression.

See Changelog/2026-10-08-merge-rynth-main-into-pr2.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-08 22:23:49 -04:00

12 lines
609 B
C#

using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace RynthCore.MonsterEditor;
[JsonSerializable(typeof(List<MonsterRule>))]
[JsonSerializable(typeof(EditorSettings))]
// UB damage-insights seed written for the RynthAi plugin (see UbMobSeedImport).
[JsonSerializable(typeof(RynthCore.CreatureSeed.UbMobSeedFile))]
// Case-insensitive like the plugin's RynthAiJsonContext, which reads the same files.
[JsonSourceGenerationOptions(WriteIndented = true, IncludeFields = true, PropertyNameCaseInsensitive = true)]
internal partial class EditorJsonContext : JsonSerializerContext { }