Banish to the shadow realm

This commit is contained in:
Nick 2022-06-19 18:27:02 -04:00
parent 56def6cd68
commit 7fdc0b9c92

View File

@ -1,3 +1,4 @@
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
using Newtonsoft.Json; using Newtonsoft.Json;
@ -23,14 +24,13 @@ namespace NewHorizons.External.Configs
/// </summary> /// </summary>
public Dictionary<string, string> UIDictionary; public Dictionary<string, string> UIDictionary;
// Literally only exists for the schema generation, Achievements+ handles the parsing
#region Achievements+ #region Achievements+
// This only exists for schema generation, Achievements+ handles the parsing
#pragma warning disable 0169
/// <summary> /// <summary>
/// Translation table for achievements. The key is the unique ID of the achievement /// Translation table for achievements. The key is the unique ID of the achievement
/// </summary> /// </summary>
public readonly Dictionary<string, AchievementTranslationInfo> AchievementTranslations; private readonly Dictionary<string, AchievementTranslationInfo> AchievementTranslations;
[JsonObject] [JsonObject]
public class AchievementTranslationInfo public class AchievementTranslationInfo
@ -38,13 +38,14 @@ namespace NewHorizons.External.Configs
/// <summary> /// <summary>
/// The name of the achievement. /// The name of the achievement.
/// </summary> /// </summary>
public string Name; private string Name;
/// <summary> /// <summary>
/// The short description for this achievement. /// The short description for this achievement.
/// </summary> /// </summary>
public readonly string Description; private readonly string Description;
} }
#pragma warning restore 0169
#endregion #endregion
public TranslationConfig(string filename) public TranslationConfig(string filename)