Add extension prop

This commit is contained in:
Ben C 2024-06-21 12:33:49 -04:00
parent 9f10b8f406
commit 7e7c4f0582
No known key found for this signature in database

View File

@ -2,6 +2,7 @@ using System;
using System.ComponentModel;
using NewHorizons.External.SerializableData;
using Newtonsoft.Json;
using NJsonSchema.Annotations;
namespace NewHorizons.External.Modules
{
@ -30,7 +31,8 @@ namespace NewHorizons.External.Modules
/// <summary>
/// The relative path to the xml file to load ship log entries from.
/// </summary>
public string xmlFile;
[JsonSchemaExtensionData("x-filePath", "true")]
public string xmlFile { get; set; }
[JsonObject]
public class MapModeInfo