12 lines
609 B
C#
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 { }
|