From e5dc3ae80b4824c89c6eae8d04936e788ffe8764 Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 7 Nov 2018 10:09:21 +0400 Subject: [PATCH] (DataFileFormat): new exported class. --- ArcFormats/ArcCommon.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ArcFormats/ArcCommon.cs b/ArcFormats/ArcCommon.cs index 0e5a0f7a..fbf0c37b 100644 --- a/ArcFormats/ArcCommon.cs +++ b/ArcFormats/ArcCommon.cs @@ -27,6 +27,7 @@ using GameRes.Utility; using System; using System.IO; using System.Linq; +using System.ComponentModel.Composition; namespace GameRes.Formats { @@ -340,4 +341,13 @@ namespace GameRes.Formats dump.Write (mem, 0, mem.Length); } } + + [Export(typeof(ScriptFormat))] + public class DataFileFormat : GenericScriptFormat + { + public override string Type { get { return ""; } } + public override string Tag { get { return "DAT/GENERIC"; } } + public override string Description { get { return "Unidentified data file"; } } + public override uint Signature { get { return 0; } } + } }