Example #1
0
 public static void LoadTlkData(string fileName, int index)
 {
     if (File.Exists(fileName))
     {
         ME1Package pcc = MEPackageHandler.OpenME1Package(fileName);
         TalkFile   tlk = new TalkFile(pcc, index);
         tlk.LoadTlkData();
         tlkList.Add(tlk);
     }
 }
Example #2
0
 public static void LoadTlkData(string fileName, int index)
 {
     if (File.Exists(fileName))
     {
         IMEPackage pcc = MEPackageHandler.OpenME1Package(fileName, forceLoadFromDisk: true); //do not cache this in the packages list.
         TalkFile   tlk = new TalkFile(pcc, index);
         tlk.LoadTlkData();
         tlkList.Add(tlk);
     }
 }