Fix some errors
This commit is contained in:
parent
a5d58aa268
commit
e7197b7869
@ -13,7 +13,7 @@ using Toolbox.Library.Forms;
|
||||
|
||||
namespace FirstPlugin
|
||||
{
|
||||
public class BEA : IArchiveFile, IFileFormat
|
||||
public class BEA : TreeNodeFile, IArchiveFile, IFileFormat
|
||||
{
|
||||
public FileType FileType { get; set; } = FileType.Archive;
|
||||
|
||||
|
@ -8,7 +8,7 @@ using Toolbox.Library;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
|
||||
namespace FirstPlugin.FileFormats.Archives.QuickAccess
|
||||
namespace FirstPlugin
|
||||
{
|
||||
public class QuickAccessFolder : TreeNodeCustom, IContextMenuNode
|
||||
{
|
||||
|
@ -223,6 +223,8 @@
|
||||
<Compile Include="FileFormats\Archives\DAT_Bayonetta.cs" />
|
||||
<Compile Include="FileFormats\Archives\GFA.cs" />
|
||||
<Compile Include="FileFormats\Archives\LZS.cs" />
|
||||
<Compile Include="FileFormats\Archives\QuickAccess\QuickAccessFile.cs" />
|
||||
<Compile Include="FileFormats\Archives\QuickAccess\QuickAccessFolder.cs" />
|
||||
<Compile Include="FileFormats\BCH\BCH.cs" />
|
||||
<Compile Include="FileFormats\BCH\MBN.cs" />
|
||||
<Compile Include="FileFormats\BCH\Wrappers\BCHGroupNode.cs" />
|
||||
|
@ -161,7 +161,8 @@ namespace Toolbox.Library
|
||||
}
|
||||
}
|
||||
|
||||
public virtual string FileSize { get {return STMath.GetFileSize(FileData.Length, 4); } }
|
||||
public virtual string FileSize { get {return STMath.GetFileSize(
|
||||
FileDataStream != null ? FileDataStream.Length : FileData.Length, 4); } }
|
||||
|
||||
[Browsable(false)]
|
||||
public IFileFormat FileFormat = null; //Format attached for saving
|
||||
|
@ -195,6 +195,7 @@ namespace Toolbox.Library
|
||||
|
||||
return oldString;
|
||||
}
|
||||
|
||||
public static T DeepCopy<T>(T other)
|
||||
{
|
||||
using (MemoryStream ms = new MemoryStream())
|
||||
|
Loading…
x
Reference in New Issue
Block a user