public static string DetermineExtension(NlpMeta meta) { switch (meta.magic) { case "PAK ": return(".pack"); case "FNTB": return(".fntb"); case "TRB ": return(".trb"); case "ICN ": return(".icn"); case "STBL": return(".stbl"); case "FBIN": return(".fbin"); case "TBIN": return(".tbin"); case "NGBI": return(".ngbi"); default: return(".bin"); } }
public NlpArchiveFileInfo(Stream fileData, string filePath, NlpMeta meta, int id) : base(fileData, filePath) { Meta = meta; Id = id; }