public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); readTags.Add(reader.PeekTag()); Marker.ReadBinary(reader); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "INDX": if (HeadModels == null) { HeadModels = new List <HeadModel>(); } HeadModel tempINDX = new HeadModel(); tempINDX.ReadBinary(reader); HeadModels.Add(tempINDX); break; default: return; } readTags.Add(subTag); } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); readTags.Add(reader.PeekTag()); Marker.ReadBinary(reader); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "INAM": if (readTags.Contains("INAM")) { return; } if (Idle == null) { Idle = new RecordReference(); } Idle.ReadBinary(reader); break; case "SCHR": if (readTags.Contains("SCHR")) { return; } if (Script == null) { Script = new EmbeddedScript(); } Script.ReadBinary(reader); break; case "TNAM": if (readTags.Contains("TNAM")) { return; } if (Topic == null) { Topic = new RecordReference(); } Topic.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); readTags.Add(reader.PeekTag()); Marker.ReadBinary(reader); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "FGGS": if (readTags.Contains("FGGS")) { return; } GeometrySymmetric.ReadBinary(reader); break; case "FGGA": if (readTags.Contains("FGGA")) { return; } GeometryAsymmetric.ReadBinary(reader); break; case "FGTS": if (readTags.Contains("FGTS")) { return; } TextureSymmetric.ReadBinary(reader); break; case "SNAM": if (readTags.Contains("SNAM")) { return; } Unknown.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "MAST": if (readTags.Contains("MAST")) { return; } FileName.ReadBinary(reader); break; case "DATA": if (readTags.Contains("DATA")) { return; } FileSize.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "DNAM": if (VoiceTypeFlags == null) { VoiceTypeFlags = new SimpleSubrecord <VoiceTypeFlags>(); } VoiceTypeFlags.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "XAMT": if (readTags.Contains("XAMT")) { return; } Type.ReadBinary(reader); break; case "XAMC": if (readTags.Contains("XAMC")) { return; } Count.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "FULL": if (Name == null) { Name = new SimpleSubrecord <String>(); } Name.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "DATA": if (HeadPartFlags == null) { HeadPartFlags = new SimpleSubrecord <HeadPartFlags>(); } HeadPartFlags.ReadBinary(reader); break; case "HNAM": if (ExtraParts == null) { ExtraParts = new List <RecordReference>(); } RecordReference tempHNAM = new RecordReference(); tempHNAM.ReadBinary(reader); ExtraParts.Add(tempHNAM); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "ONAM": if (readTags.Contains("ONAM")) { return; } Static.ReadBinary(reader); break; case "DATA": if (readTags.Contains("DATA")) { return; } Placements.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "CSDT": if (readTags.Contains("CSDT")) { return; } SoundType.ReadBinary(reader); break; case "CSDI": CreatureSound tempCSDI = new CreatureSound(); tempCSDI.ReadBinary(reader); Sounds.Add(tempCSDI); break; default: return; } readTags.Add(subTag); } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "PRKC": if (readTags.Contains("PRKC")) { return; } RunOn.ReadBinary(reader); break; case "CTDA": Condition tempCTDA = new Condition(); tempCTDA.ReadBinary(reader); Conditions.Add(tempCTDA); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "DATA": if (Data == null) { Data = new ThresholdData(); } Data.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "INTV": if (readTags.Contains("INTV")) { Value.ReadBinary(reader); return; } Suit.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "CTDA": if (Conditions == null) { Conditions = new List <Condition>(); } Condition tempCTDA = new Condition(); tempCTDA.ReadBinary(reader); Conditions.Add(tempCTDA); break; case "ANAM": if (RelatedIdles == null) { RelatedIdles = new RelatedIdleAnims(); } RelatedIdles.ReadBinary(reader); break; case "DATA": if (Data == null) { Data = new IdleAnimationData(); } Data.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "BPTN": if (readTags.Contains("BPTN")) { return; } PartName.ReadBinary(reader); break; case "BPNN": if (readTags.Contains("BPNN")) { return; } BodyPart.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "DATA": if (DebrisList == null) { DebrisList = new List <DebrisModel>(); } DebrisModel tempDATA = new DebrisModel(); tempDATA.ReadBinary(reader); DebrisList.Add(tempDATA); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "RCIL": if (readTags.Contains("RCIL")) { return; } Item.ReadBinary(reader); break; case "RCQY": if (readTags.Contains("RCQY")) { return; } Quantity.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "LNAM": if (List == null) { List = new List <RecordReference>(); } RecordReference tempLNAM = new RecordReference(); tempLNAM.ReadBinary(reader); List.Add(tempLNAM); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "INDX": if (readTags.Contains("INDX")) { return; } Index.ReadBinary(reader); break; case "ICON": if (readTags.Contains("ICON")) { return; } if (LargeIcon == null) { LargeIcon = new SimpleSubrecord <String>(); } LargeIcon.ReadBinary(reader); break; case "MICO": if (readTags.Contains("MICO")) { return; } if (SmallIcon == null) { SmallIcon = new SimpleSubrecord <String>(); } SmallIcon.ReadBinary(reader); break; case "MODL": if (readTags.Contains("MODL")) { return; } Model.ReadBinary(reader); break; default: return; } readTags.Add(subTag); } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "OBND": if (ObjectBounds == null) { ObjectBounds = new ObjectBounds(); } ObjectBounds.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "BRUS": if (PassthroughSound == null) { PassthroughSound = new SimpleSubrecord <PassthroughSound>(); } PassthroughSound.ReadBinary(reader); break; case "RNAM": if (Looping_RandomSound == null) { Looping_RandomSound = new RecordReference(); } Looping_RandomSound.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "FULL": if (Name == null) { Name = new SimpleSubrecord <String>(); } Name.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "ICON": if (Texture == null) { Texture = new SimpleSubrecord <String>(); } Texture.ReadBinary(reader); break; case "DATA": if (HairFlags == null) { HairFlags = new SimpleSubrecord <HairFlags>(); } HairFlags.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "FULL": if (Name == null) { Name = new SimpleSubrecord <String>(); } Name.ReadBinary(reader); break; case "ICON": if (LargeIcon == null) { LargeIcon = new SimpleSubrecord <String>(); } LargeIcon.ReadBinary(reader); break; case "MICO": if (SmallIcon == null) { SmallIcon = new SimpleSubrecord <String>(); } SmallIcon.ReadBinary(reader); break; case "DATA": if (Value == null) { Value = new SimpleSubrecord <Single>(); } Value.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "ICON": if (FillTexture == null) { FillTexture = new SimpleSubrecord <String>(); } FillTexture.ReadBinary(reader); break; case "ICO2": if (ParticleShaderTexture == null) { ParticleShaderTexture = new SimpleSubrecord <String>(); } ParticleShaderTexture.ReadBinary(reader); break; case "NAM7": if (HolesTexture == null) { HolesTexture = new SimpleSubrecord <String>(); } HolesTexture.ReadBinary(reader); break; case "DATA": if (Data == null) { Data = new EffectShaderData(); } Data.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "NVER": if (Version == null) { Version = new SimpleSubrecord <UInt32>(); } Version.ReadBinary(reader); break; case "NVMI": if (NavigationMapInfoList == null) { NavigationMapInfoList = new List <NavigationMapInfo>(); } NavigationMapInfo tempNVMI = new NavigationMapInfo(); tempNVMI.ReadBinary(reader); NavigationMapInfoList.Add(tempNVMI); break; case "NVCI": if (NavigationConnectionInfoList == null) { NavigationConnectionInfoList = new List <NavigationConnectionInfo>(); } NavigationConnectionInfo tempNVCI = new NavigationConnectionInfo(); tempNVCI.ReadBinary(reader); NavigationConnectionInfoList.Add(tempNVCI); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "FULL": if (Name == null) { Name = new SimpleSubrecord <String>(); } Name.ReadBinary(reader); break; case "CARD": if (Cards == null) { Cards = new List <RecordReference>(); } RecordReference tempCARD = new RecordReference(); tempCARD.ReadBinary(reader); Cards.Add(tempCARD); break; case "DATA": if (Data == null) { Data = new SimpleSubrecord <UInt32>(); } Data.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "OBND": if (ObjectBounds == null) { ObjectBounds = new ObjectBounds(); } ObjectBounds.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "ONAM": if (Parts == null) { Parts = new List <StaticCollectionPart>(); } StaticCollectionPart tempONAM = new StaticCollectionPart(); tempONAM.ReadBinary(reader); Parts.Add(tempONAM); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "FULL": if (Name == null) { Name = new SimpleSubrecord <String>(); } Name.ReadBinary(reader); break; case "ENIT": if (Data == null) { Data = new EnchantData(); } Data.ReadBinary(reader); break; case "EFID": if (Effects == null) { Effects = new List <Effect>(); } Effect tempEFID = new Effect(); tempEFID.ReadBinary(reader); Effects.Add(tempEFID); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "DATA": if (Data == null) { Data = new CameraShotData(); } Data.ReadBinary(reader); break; case "MNAM": if (ImageSpaceModifier == null) { ImageSpaceModifier = new RecordReference(); } ImageSpaceModifier.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "CSTD": if (DecisionData == null) { DecisionData = new CombatStyleDecision(); } DecisionData.ReadBinary(reader); break; case "CSAD": if (AdvancedData == null) { AdvancedData = new CombatStyleAdvanced(); } AdvancedData.ReadBinary(reader); break; case "CSSD": if (SimpleData == null) { SimpleData = new CombatStyleSimple(); } SimpleData.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadData(ESPReader reader, long dataEnd) { while (reader.BaseStream.Position < dataEnd) { string subTag = reader.PeekTag(); switch (subTag) { case "EDID": if (EditorID == null) { EditorID = new SimpleSubrecord <String>(); } EditorID.ReadBinary(reader); break; case "OBND": if (ObjectBounds == null) { ObjectBounds = new ObjectBounds(); } ObjectBounds.ReadBinary(reader); break; case "MODL": if (Model == null) { Model = new Model(); } Model.ReadBinary(reader); break; case "DATA": if (Data == null) { Data = new GrassData(); } Data.ReadBinary(reader); break; default: throw new Exception(); } } }
public override void ReadBinary(ESPReader reader) { List <string> readTags = new List <string>(); while (reader.BaseStream.Position < reader.BaseStream.Length) { string subTag = reader.PeekTag(); switch (subTag) { case "QOBJ": if (readTags.Contains("QOBJ")) { return; } if (Index == null) { Index = new SimpleSubrecord <Int32>(); } Index.ReadBinary(reader); break; case "NNAM": if (readTags.Contains("NNAM")) { return; } Description.ReadBinary(reader); break; case "QSTA": if (Targets == null) { Targets = new List <QuestTarget>(); } QuestTarget tempQSTA = new QuestTarget(); tempQSTA.ReadBinary(reader); Targets.Add(tempQSTA); break; default: return; } readTags.Add(subTag); } }