} //ReadArchive public static List <string> GetFpkReferences(string fpkPath) { var fpkReferences = new List <string>(); FpkFile fpkFile = GzsLib.ReadArchive <FpkFile>(fpkPath); foreach (var reference in fpkFile.References) { fpkReferences.Add(reference.FilePath); } return(fpkReferences); }//GetFpkReferences
} //ReadArchive public static List <string> GetFpkReferences(string fpkPath) { var fpkReferences = new List <string>(); FpkFile fpkFile = GzsLib.ReadArchive <FpkFile>(fpkPath); foreach (var reference in fpkFile.References) { fpkReferences.Add(reference.FilePath); } Debug.LogLine($"[GzsLib] GetFpkReferences: found {fpkReferences.Count} in {fpkPath}"); return(fpkReferences); }//GetFpkReferences