(PacOpener): set default archive extension to "pac".

This commit is contained in:
morkt 2015-11-12 09:35:57 +04:00
parent 2f8c18f6d8
commit 1221269919

View File

@ -51,6 +51,11 @@ namespace GameRes.Formats.Emic
public override bool IsHierarchic { get { return true; } } public override bool IsHierarchic { get { return true; } }
public override bool CanCreate { get { return false; } } public override bool CanCreate { get { return false; } }
public PacOpener ()
{
Extensions = new string[] { "pac" };
}
public override ArcFile TryOpen (ArcView file) public override ArcFile TryOpen (ArcView file)
{ {
int count = file.View.ReadInt32 (0x28); int count = file.View.ReadInt32 (0x28);