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); } }
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); } }