Ejemplo n.º 1
0
        /// <summary>
        /// Serialises content from the writer
        /// </summary>
        public override void InternalFromBinary(IBinaryRawReader reader)
        {
            base.InternalFromBinary(reader);

            var version = VersionSerializationHelper.CheckVersionByte(reader, VERSION_NUMBER);

            if (version == 1)
            {
                NEECoords = new XYZ();
                NEECoords = NEECoords.FromBinary(reader);

                OTGCellX = reader.ReadInt();
                OTGCellY = reader.ReadInt();
            }
        }