public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); DefaultLandHeight = reader.ReadSingle(); DefaultWaterHeight = reader.ReadSingle(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); WorldMapScale = reader.ReadSingle(); CellXOffset = reader.ReadSingle(); CellYOffset = reader.ReadSingle(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); X = reader.ReadSingle(); Y = reader.ReadSingle(); Z = reader.ReadSingle(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); RangeRadius = reader.ReadSingle(); BroadcastRangeType = (REFR_XRDOBroadcastRangeType)reader.ReadUInt32(); StaticPercentage = reader.ReadSingle(); PositionReference = reader.ReadUInt32(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); Reference = reader.ReadUInt32(); Delay = reader.ReadSingle(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); Version = reader.ReadSingle(); NumRecords = reader.ReadUInt32(); NextObjectID = reader.ReadUInt32(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); Offset = reader.ReadSingle(); Rows = new List <byte[]>(); for (var i = 0; i < 33; i++) { Rows.Add(reader.ReadBytes(33)); } Unused = reader.ReadBytes(3); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); Flags = reader.ReadUInt32(); Fatigue = reader.ReadUInt16(); BarterGold = reader.ReadUInt16(); LevelOrLevelMult = reader.ReadInt16(); CalcMin = reader.ReadUInt16(); CalcMax = reader.ReadUInt16(); SpeedMult = reader.ReadUInt16(); KarmaAlignment = reader.ReadSingle(); DispositionBase = reader.ReadInt16(); TemplateFlags = (ACBSTemplateFlags)reader.ReadUInt16(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); XBound = reader.ReadSingle(); YBound = reader.ReadSingle(); ZBound = reader.ReadSingle(); Red = reader.ReadSingle(); Green = reader.ReadSingle(); Blue = reader.ReadSingle(); Unknown = reader.ReadBytes(4); Type = (REFR_XPRMTypes)reader.ReadUInt32(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); Door = reader.ReadUInt32(); X = reader.ReadSingle(); Y = reader.ReadSingle(); Z = reader.ReadSingle(); rX = reader.ReadSingle(); rY = reader.ReadSingle(); rZ = reader.ReadSingle(); Flags = (REFR_XTELFlags)reader.ReadUInt32(); }
public override void Deserialize(BetterReader reader, string name) { base.Deserialize(reader, name); Records = new List <VTXTStruct>(); var currentPosition = 0; while (currentPosition < Size) { Records.Add(new VTXTStruct { Position = reader.ReadUInt16(), Unused = reader.ReadBytes(2), Opacity = reader.ReadSingle() }); currentPosition += 8; } }