mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-09 02:16:55 +00:00
MPQ needs a distinction
This commit is contained in:
@@ -12,24 +12,36 @@ namespace SabreTools.Serialization.Wrappers
|
||||
|
||||
#endregion
|
||||
|
||||
#region No-Model Constructors
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(byte[] data) : base(new Archive(), data) { }
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(byte[] data, int offset) : base(new Archive(), data, offset) { }
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(byte[] data, int offset, int length) : base(new Archive(), data, offset, length) { }
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(Stream data) : base(new Archive(), data) { }
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(Stream data, long offset) : base(new Archive(), data, offset) { }
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(Stream data, long offset, long length) : base(new Archive(), data, offset, length) { }
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructors
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(byte[] data, int offset)
|
||||
: base(new Archive(), data, offset)
|
||||
{
|
||||
// All logic is handled by the base class
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <remarks>This should only be used for until MPQ parsing is fixed</remarks>
|
||||
public MoPaQ(Stream data)
|
||||
: base(new Archive(), data)
|
||||
{
|
||||
// All logic is handled by the base class
|
||||
}
|
||||
|
||||
/// <inheritdoc/>
|
||||
public MoPaQ(Archive model, byte[] data) : base(model, data) { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user