diff --git a/SabreTools.Serialization/Wrappers/MoPaQ.cs b/SabreTools.Serialization/Wrappers/MoPaQ.cs index 942ac796..f1edeed1 100644 --- a/SabreTools.Serialization/Wrappers/MoPaQ.cs +++ b/SabreTools.Serialization/Wrappers/MoPaQ.cs @@ -12,24 +12,36 @@ namespace SabreTools.Serialization.Wrappers #endregion + #region No-Model Constructors + + /// + /// This should only be used for until MPQ parsing is fixed + public MoPaQ(byte[] data) : base(new Archive(), data) { } + + /// + /// This should only be used for until MPQ parsing is fixed + public MoPaQ(byte[] data, int offset) : base(new Archive(), data, offset) { } + + /// + /// This should only be used for until MPQ parsing is fixed + public MoPaQ(byte[] data, int offset, int length) : base(new Archive(), data, offset, length) { } + + /// + /// This should only be used for until MPQ parsing is fixed + public MoPaQ(Stream data) : base(new Archive(), data) { } + + /// + /// This should only be used for until MPQ parsing is fixed + public MoPaQ(Stream data, long offset) : base(new Archive(), data, offset) { } + + /// + /// This should only be used for until MPQ parsing is fixed + public MoPaQ(Stream data, long offset, long length) : base(new Archive(), data, offset, length) { } + + #endregion + #region Constructors - /// - /// This should only be used for until MPQ parsing is fixed - public MoPaQ(byte[] data, int offset) - : base(new Archive(), data, offset) - { - // All logic is handled by the base class - } - - /// - /// This should only be used for until MPQ parsing is fixed - public MoPaQ(Stream data) - : base(new Archive(), data) - { - // All logic is handled by the base class - } - /// public MoPaQ(Archive model, byte[] data) : base(model, data) { }