示例#1
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (ObjectBounds != null)
     {
         ObjectBounds.WriteBinary(writer);
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (Model != null)
     {
         Model.WriteBinary(writer);
     }
     if (Destructable != null)
     {
         Destructable.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (Sound != null)
     {
         Sound.WriteBinary(writer);
     }
 }
示例#2
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (AddedQuests != null)
     {
         AddedQuests.Sort();
         foreach (var item in AddedQuests)
         {
             item.WriteBinary(writer);
         }
     }
     if (RemovedQuests != null)
     {
         foreach (var item in RemovedQuests)
         {
             item.WriteBinary(writer);
         }
     }
     if (UnusedInfos != null)
     {
         foreach (var item in UnusedInfos)
         {
             item.WriteBinary(writer);
         }
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (Priority != null)
     {
         Priority.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
 }
示例#3
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Version != null)
     {
         Version.WriteBinary(writer);
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (Vertices != null)
     {
         Vertices.WriteBinary(writer);
     }
     if (Triangles != null)
     {
         Triangles.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (Doors != null)
     {
         Doors.WriteBinary(writer);
     }
     if (Grid != null)
     {
         Grid.WriteBinary(writer);
     }
     if (ExternalConnections != null)
     {
         ExternalConnections.WriteBinary(writer);
     }
 }
示例#4
0
 public override void WriteBinary(ESPWriter writer)
 {
     if (FileName != null)
     {
         FileName.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (TextureFileHash != null)
     {
         TextureFileHash.WriteBinary(writer);
     }
     if (AlternateTextures != null)
     {
         AlternateTextures.WriteBinary(writer);
     }
     if (FaceGenModelFlags != null)
     {
         FaceGenModelFlags.WriteBinary(writer);
     }
 }
示例#5
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (ImageSpaceModifierSunrise != null)
     {
         ImageSpaceModifierSunrise.WriteBinary(writer);
     }
     if (ImageSpaceModifierDay != null)
     {
         ImageSpaceModifierDay.WriteBinary(writer);
     }
     if (ImageSpaceModifierSunset != null)
     {
         ImageSpaceModifierSunset.WriteBinary(writer);
     }
     if (ImageSpaceModifierNight != null)
     {
         ImageSpaceModifierNight.WriteBinary(writer);
     }
     if (ImageSpaceModifierHighNoon != null)
     {
         ImageSpaceModifierHighNoon.WriteBinary(writer);
     }
     if (ImageSpaceModifierMidnight != null)
     {
         ImageSpaceModifierMidnight.WriteBinary(writer);
     }
     if (CloudTextureLayer0 != null)
     {
         CloudTextureLayer0.WriteBinary(writer);
     }
     if (CloudTextureLayer1 != null)
     {
         CloudTextureLayer1.WriteBinary(writer);
     }
     if (CloudTextureLayer2 != null)
     {
         CloudTextureLayer2.WriteBinary(writer);
     }
     if (CloudTextureLayer3 != null)
     {
         CloudTextureLayer3.WriteBinary(writer);
     }
     if (Model != null)
     {
         Model.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (CloudLayerSpeed != null)
     {
         CloudLayerSpeed.WriteBinary(writer);
     }
     if (CloudLayerColors != null)
     {
         CloudLayerColors.WriteBinary(writer);
     }
     if (EnvironmentalColors != null)
     {
         EnvironmentalColors.WriteBinary(writer);
     }
     if (WeatherFogDistance != null)
     {
         WeatherFogDistance.WriteBinary(writer);
     }
     if (Unused != null)
     {
         Unused.WriteBinary(writer);
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (Sounds != null)
     {
         foreach (var item in Sounds)
         {
             item.WriteBinary(writer);
         }
     }
 }
示例#6
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (ObjectBounds != null)
     {
         ObjectBounds.WriteBinary(writer);
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (Model != null)
     {
         Model.WriteBinary(writer);
     }
     if (BaseStats != null)
     {
         BaseStats.WriteBinary(writer);
     }
     if (Factions != null)
     {
         Factions.Sort();
         foreach (var item in Factions)
         {
             item.WriteBinary(writer);
         }
     }
     if (DeathItem != null)
     {
         DeathItem.WriteBinary(writer);
     }
     if (VoiceType != null)
     {
         VoiceType.WriteBinary(writer);
     }
     if (Template != null)
     {
         Template.WriteBinary(writer);
     }
     if (Race != null)
     {
         Race.WriteBinary(writer);
     }
     if (ActorEffects != null)
     {
         ActorEffects.Sort();
         foreach (var item in ActorEffects)
         {
             item.WriteBinary(writer);
         }
     }
     if (UnarmedAttackEffect != null)
     {
         UnarmedAttackEffect.WriteBinary(writer);
     }
     if (UnarmedAttackAnimation != null)
     {
         UnarmedAttackAnimation.WriteBinary(writer);
     }
     if (Destructable != null)
     {
         Destructable.WriteBinary(writer);
     }
     if (Script != null)
     {
         Script.WriteBinary(writer);
     }
     if (Contents != null)
     {
         Contents.Sort();
         foreach (var item in Contents)
         {
             item.WriteBinary(writer);
         }
     }
     if (AIData != null)
     {
         AIData.WriteBinary(writer);
     }
     if (Packages != null)
     {
         foreach (var item in Packages)
         {
             item.WriteBinary(writer);
         }
     }
     if (Class != null)
     {
         Class.WriteBinary(writer);
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (Skills != null)
     {
         Skills.WriteBinary(writer);
     }
     if (HeadParts != null)
     {
         HeadParts.Sort();
         foreach (var item in HeadParts)
         {
             item.WriteBinary(writer);
         }
     }
     if (HairType != null)
     {
         HairType.WriteBinary(writer);
     }
     if (HairLength != null)
     {
         HairLength.WriteBinary(writer);
     }
     if (Eyes != null)
     {
         Eyes.WriteBinary(writer);
     }
     if (HairColor != null)
     {
         HairColor.WriteBinary(writer);
     }
     if (CombatStyle != null)
     {
         CombatStyle.WriteBinary(writer);
     }
     if (ImpactMaterialType != null)
     {
         ImpactMaterialType.WriteBinary(writer);
     }
     if (FaceGenGeometrySymmetric != null)
     {
         FaceGenGeometrySymmetric.WriteBinary(writer);
     }
     if (FaceGenGeometryAsymmetric != null)
     {
         FaceGenGeometryAsymmetric.WriteBinary(writer);
     }
     if (FaceGenTexture != null)
     {
         FaceGenTexture.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (Height != null)
     {
         Height.WriteBinary(writer);
     }
     if (Weight != null)
     {
         Weight.WriteBinary(writer);
     }
 }
示例#7
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (CellFlags != null)
     {
         CellFlags.WriteBinary(writer);
     }
     if (Grid != null)
     {
         Grid.WriteBinary(writer);
     }
     if (Lighting != null)
     {
         Lighting.WriteBinary(writer);
     }
     if (FootstepMaterial != null)
     {
         FootstepMaterial.WriteBinary(writer);
     }
     if (LightTemplate != null)
     {
         LightTemplate.WriteBinary(writer);
     }
     if (LightTemplateInherit != null)
     {
         LightTemplateInherit.WriteBinary(writer);
     }
     if (WaterHeight != null)
     {
         WaterHeight.WriteBinary(writer);
     }
     if (WaterNoiseTexture != null)
     {
         WaterNoiseTexture.WriteBinary(writer);
     }
     if (Regions != null)
     {
         Regions.WriteBinary(writer);
     }
     if (ImageSpace != null)
     {
         ImageSpace.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (EncounterZone != null)
     {
         EncounterZone.WriteBinary(writer);
     }
     if (Climate != null)
     {
         Climate.WriteBinary(writer);
     }
     if (Water != null)
     {
         Water.WriteBinary(writer);
     }
     if (Owner != null)
     {
         Owner.WriteBinary(writer);
     }
     if (FactionRank != null)
     {
         FactionRank.WriteBinary(writer);
     }
     if (AcousticSpace != null)
     {
         AcousticSpace.WriteBinary(writer);
     }
     if (Unused != null)
     {
         Unused.WriteBinary(writer);
     }
     if (MusicType != null)
     {
         MusicType.WriteBinary(writer);
     }
 }
示例#8
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Name != null)
     {
         Name.WriteBinary(writer);
     }
     if (Description != null)
     {
         Description.WriteBinary(writer);
     }
     if (Relationships != null)
     {
         foreach (var item in Relationships)
         {
             item.WriteBinary(writer);
         }
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (OlderRace != null)
     {
         OlderRace.WriteBinary(writer);
     }
     if (YoungerRace != null)
     {
         YoungerRace.WriteBinary(writer);
     }
     if (UnknownMarker != null)
     {
         UnknownMarker.WriteBinary(writer);
     }
     if (DefaultVoices != null)
     {
         DefaultVoices.WriteBinary(writer);
     }
     if (DefaultHairStyles != null)
     {
         DefaultHairStyles.WriteBinary(writer);
     }
     if (DefaultHairColors != null)
     {
         DefaultHairColors.WriteBinary(writer);
     }
     if (FaceGenMainClamp != null)
     {
         FaceGenMainClamp.WriteBinary(writer);
     }
     if (FaceGenFaceClamp != null)
     {
         FaceGenFaceClamp.WriteBinary(writer);
     }
     if (Unknown != null)
     {
         Unknown.WriteBinary(writer);
     }
     if (HeadData != null)
     {
         HeadData.WriteBinary(writer);
     }
     if (BodyData != null)
     {
         BodyData.WriteBinary(writer);
     }
     if (Hairs != null)
     {
         Hairs.WriteBinary(writer);
     }
     if (Eyes != null)
     {
         Eyes.WriteBinary(writer);
     }
     if (MaleFaceGenData != null)
     {
         MaleFaceGenData.WriteBinary(writer);
     }
     if (FemaleFaceGenData != null)
     {
         FemaleFaceGenData.WriteBinary(writer);
     }
 }