using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualBasic;
using System.IO;

namespace HaloObjects
{
    public class XReflexive
    {
        #region Fields
        public int Offset, PureOffset;
        public int ChunkCount;
        public int ChunkSize;
        public int RawTranslation;
        public int Translation;
        #endregion

        #region Methods
        public void Read(BinaryReader br, int Magic)
        {
            Offset = (int)br.BaseStream.Position;
            ChunkCount = br.ReadInt32();
            RawTranslation = br.ReadInt32();
            Translation = RawTranslation - Magic;
        }
        #endregion
    }
}
