diff --git a/SabreTools.Serialization/Wrappers/Nitro.cs b/SabreTools.Serialization/Wrappers/Nitro.cs index e9a29bb5..b29ef81f 100644 --- a/SabreTools.Serialization/Wrappers/Nitro.cs +++ b/SabreTools.Serialization/Wrappers/Nitro.cs @@ -1,8 +1,9 @@ using System.IO; +using SabreTools.Models.Nitro; namespace SabreTools.Serialization.Wrappers { - public class Nitro : WrapperBase + public class Nitro : WrapperBase { #region Descriptive Properties @@ -11,17 +12,24 @@ namespace SabreTools.Serialization.Wrappers #endregion + #region Extension Methods + + /// + public CommonHeader? CommonHeader => Model.CommonHeader; + + #endregion + #region Constructors /// - public Nitro(Models.Nitro.Cart? model, byte[]? data, int offset) + public Nitro(Cart? model, byte[]? data, int offset) : base(model, data, offset) { // All logic is handled by the base class } /// - public Nitro(Models.Nitro.Cart? model, Stream? data) + public Nitro(Cart? model, Stream? data) : base(model, data) { // All logic is handled by the base class