//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the default object header.</summary>*/ public PathBannerHeader() { this.Reserved0 = 0; this.Reserved1 = 0; this.Scrolling = 0; this.Flags = PathBannerFlags.None; this.BuildCost = 0; this.Reserved2 = 0; }
//=========== READING ============ #region Reading /**<summary>Reads the object header.</summary>*/ internal override void Read(BinaryReader reader) { this.Reserved0 = reader.ReadUInt16(); this.Reserved1 = reader.ReadUInt32(); this.Scrolling = reader.ReadByte(); this.Flags = (PathBannerFlags)reader.ReadByte(); this.BuildCost = reader.ReadUInt16(); this.Reserved2 = reader.ReadUInt16(); }
//========= CONSTRUCTORS ========= #region Constructors /**<summary>Constructs the default object header.</summary>*/ public PathBannerHeader() { Reserved0 = 0; Reserved1 = 0; Scrolling = 0; Flags = PathBannerFlags.None; BuildCost = 0; Reserved2 = 0; }