Add descriptions to TranslationConfig

This commit is contained in:
Ben C 2022-05-23 10:36:00 -04:00 committed by GitHub
parent a4e8e7375b
commit fe64a4abab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 0 deletions

View File

@ -6,8 +6,19 @@ namespace NewHorizons.External.Configs
{
public class TranslationConfig
{
/// <summary>
/// Translation table for dialogue
/// </summary>
public Dictionary<string, string> dialogueDictionary;
/// <summary>
/// Translation table for Ship Log (entries, facts, etc)
/// </summary>
public Dictionary<string, string> shipLogDictionary;
/// <summary>
/// Translation table for UI elements
/// </summary>
public Dictionary<string, string> uiDictionary;
public TranslationConfig(string filename)

View File

@ -20,9 +20,17 @@ namespace NewHorizons.External.Modules.VariableSize
return curve;
}
[JsonObject]
public class TimeValuePair
{
/// <summary>
/// A specific point in time
/// </summary>
public float Time { get; set; }
/// <summary>
/// The value for this point in time
/// </summary>
public float Value { get; set; }
}
}