public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Value  = (TNAMTypes)reader.ReadByte();
            Unused = reader.ReadByte();
        }
Beispiel #2
0
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Rows = new List <VNMLorVCLRStruct[]>();

            var newRow = new List <VNMLorVCLRStruct>();

            for (var i = 0; i < 1089; i++)
            {
                var record = new VNMLorVCLRStruct
                {
                    X = reader.ReadByte(),
                    Y = reader.ReadByte(),
                    Z = reader.ReadByte()
                };
                newRow.Add(record);

                if (newRow.Count == 33)
                {
                    Rows.Add(newRow.ToArray());
                    newRow.Clear();
                }
            }
        }
 public override void Deserialize(BetterReader reader, string name)
 {
     base.Deserialize(reader, name);
     Type        = (DialogType)reader.ReadByte();
     NextSpeaker = (NextSpeaker)reader.ReadByte();
     Flags       = (INFOFlags)BitConverter.ToUInt16(reader.ReadBytes(2), 0);
 }
Beispiel #4
0
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Flags   = (WRLD_PNAMFlags)reader.ReadByte();
            Unknown = reader.ReadByte();
        }
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Texture  = reader.ReadUInt32();
            Quadrant = (ATXTorBTXTQuadrants)reader.ReadByte();
            Unused   = reader.ReadByte();
            Layer    = reader.ReadInt16();
        }
 public override void Deserialize(BetterReader reader, string name)
 {
     base.Deserialize(reader, name);
     EmotionType    = (DialogResponseEmotionType)reader.ReadUInt32();
     EmotionValue   = reader.ReadUInt32();
     Unused1        = reader.ReadBytes(4);
     ResponseNumber = reader.ReadByte();
     Unused2        = reader.ReadBytes(3);
     Sound          = reader.ReadInt32();
     Flags          = (DialogResponseFlags)reader.ReadByte();
     Unused3        = reader.ReadBytes(3);
 }
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Reference = reader.ReadUInt32();
            Flags     = (REFR_XESPFlags)reader.ReadByte();
            Unknown   = reader.ReadBytes(3);
        }
Beispiel #8
0
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Faction = reader.ReadUInt32();
            Rank    = reader.ReadByte();
            Unused  = reader.ReadBytes(3);
        }
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Level  = reader.ReadByte();
            Unused = reader.ReadBytes(3);
            Key    = reader.ReadUInt32();
            if (Size == 12)
            {
                Unknown = reader.ReadBytes(4);
            }
            else if (Size == 16)
            {
                Unknown = reader.ReadBytes(8);
            }
            else if (Size == 20)
            {
                Unknown = reader.ReadBytes(12);
            }
        }
Beispiel #10
0
 public override void Deserialize(BetterReader reader, string name)
 {
     base.Deserialize(reader, name);
     Value = reader.ReadByte();
 }
Beispiel #11
0
 public override void Deserialize(BetterReader reader, string name)
 {
     base.Deserialize(reader, name);
     Type  = (DialogType)reader.ReadByte();
     Flags = (DialogFlags)reader.ReadByte();
 }
Beispiel #12
0
        public override void Deserialize(BetterReader reader, string name)
        {
            base.Deserialize(reader, name);

            Flags = (MODDFaceGenModelFlags)reader.ReadByte();
        }