initial commit

This commit is contained in:
what 2021-07-26 13:04:16 -07:00
commit 1b60743303
274 changed files with 25866 additions and 0 deletions

View file

@ -0,0 +1,33 @@
// Decompiled with JetBrains decompiler
// Type: SEGATools.FileFormat.AbstractImageFileFormat
// Assembly: SEGATools, Version=1.0.3.0, Culture=neutral, PublicKeyToken=611be24fdeb07e08
// MVID: D631183F-57B1-40A1-B502-5364D288307A
// Assembly location: SEGATools.dll
using SEGATools.DiscFileSystem;
using System.Collections.Generic;
using System.Linq;
namespace SEGATools.FileFormat
{
public abstract class AbstractImageFileFormat : IImageFileFormat
{
public abstract string[] FileExtentions { get; }
public abstract string[] FileExtentionDescriptions { get; }
public abstract IDiscFileSystemConverter ImageFileConverter { get; }
public string PluginAssemblyFileName { get; set; }
public override bool Equals(object obj)
{
if (obj == null || !typeof (IImageFileFormat).IsAssignableFrom(obj.GetType()))
return false;
IImageFileFormat imageFileFormat = (IImageFileFormat) obj;
return ((IEnumerable<string>) this.FileExtentions).SequenceEqual<string>((IEnumerable<string>) imageFileFormat.FileExtentions) && ((IEnumerable<string>) this.FileExtentionDescriptions).SequenceEqual<string>((IEnumerable<string>) imageFileFormat.FileExtentionDescriptions);
}
public override int GetHashCode() => 1 + 17 * this.FileExtentions.GetHashCode() + 31 * this.FileExtentionDescriptions.GetHashCode();
}
}

View file

@ -0,0 +1,21 @@
// Decompiled with JetBrains decompiler
// Type: SEGATools.FileFormat.IImageFileFormat
// Assembly: SEGATools, Version=1.0.3.0, Culture=neutral, PublicKeyToken=611be24fdeb07e08
// MVID: D631183F-57B1-40A1-B502-5364D288307A
// Assembly location: SEGATools.dll
using SEGATools.DiscFileSystem;
namespace SEGATools.FileFormat
{
public interface IImageFileFormat
{
string[] FileExtentions { get; }
string[] FileExtentionDescriptions { get; }
IDiscFileSystemConverter ImageFileConverter { get; }
string PluginAssemblyFileName { get; set; }
}
}