public NDBSheet LoadLanguageData(string path) { languagePath = path; languageData = LoadDataInternal(path); foreach (var kvp in cachedDataDic) { kvp.Value.SetText(languageData); } return(languageData); }
private NDBSheet LoadDataInternal(string path) { byte[] fileBytes = bytesLoaderFunc(path); if (fileBytes == null || fileBytes.Length == 0) { return(null); } NDBSheet data = new NDBSheet(path); data.SetData(fileBytes); return(data); }
public void SetText(NDBSheet text) { textSheet = text; }