/// <summary>
        /// Reads this field using the supplied guerilla binary reader.
        /// </summary>
        /// <param name="reader">The reader.</param>
        internal override void Read(GuerillaBinaryReader reader)
        {
            //Read
            base.Read(reader);

            //Goto
            reader.BaseStream.Seek(DefinitionAddress - Guerilla.BaseAddress, System.IO.SeekOrigin.Begin);

            //Read fields
            Flags            = reader.ReadInt32();
            GroupTag         = reader.ReadTag();
            GroupTagsAddress = reader.ReadInt32();
        }
Example #2
0
        /// <summary>
        /// Reads this field using the supplied guerilla binary reader.
        /// </summary>
        /// <param name="reader">The reader.</param>
        internal override void Read(GuerillaBinaryReader reader)
        {
            //Read
            base.Read(reader);

            //Goto
            reader.BaseStream.Seek(DefinitionAddress - Guerilla.BaseAddress, System.IO.SeekOrigin.Begin);

            //Read fields
            nameAddress = reader.ReadInt32();
            groupTag    = reader.ReadTag();
            int displayNameAddress = reader.ReadInt32();

            blockDefinitionAddress = reader.ReadInt32();

            //Read strings
            name        = reader.ReadLocalizedString(nameAddress);
            displayName = reader.ReadLocalizedString(displayNameAddress);
        }