예제 #1
0
 public NDBSheet LoadLanguageData(string path)
 {
     languagePath = path;
     languageData = LoadDataInternal(path);
     foreach (var kvp in cachedDataDic)
     {
         kvp.Value.SetText(languageData);
     }
     return(languageData);
 }
예제 #2
0
        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);
        }
예제 #3
0
 public void SetText(NDBSheet text)
 {
     textSheet = text;
 }