using System.Collections.Generic; using System.Collections.ObjectModel; namespace BriarQueen.Data.Identifiers { public enum SubtitleKey { None = 0, // Example: // IntroLine = 1, // TutorialTip = 2 } public static class SubtitleIdentifiers { public static readonly IReadOnlyDictionary Subtitles = new ReadOnlyDictionary( new Dictionary { // { SubtitleKey.IntroLine, "SUB_IntroLine" }, // { SubtitleKey.TutorialTip, "SUB_TutorialTip" } }); public static string Get(SubtitleKey key) { return Subtitles.TryGetValue(key, out var value) ? value : string.Empty; } public static IEnumerable GetAll() { return Subtitles.Values; } } }