/// <summary> /// Loads the <see cref="EmoticonInfoManager"/> from file. /// </summary> /// <param name="filePath">The file path to load from.</param> public static EmoticonInfoManager Load(string filePath) { var r = GenericValueReader.CreateFromFile(filePath, _rootNodeName); var ret = new EmoticonInfoManager(); ret.Read(r); return(ret); }
/// <summary> /// Initializes the <see cref="EmoticonInfoManager"/> class. /// </summary> static EmoticonInfoManager() { _instance = Load(ContentPaths.Build); }