Esempio n. 1
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Base != null)
     {
         Base.WriteBinary(writer);
     }
     if (EncounterZone != null)
     {
         EncounterZone.WriteBinary(writer);
     }
     if (RagdollData != null)
     {
         RagdollData.WriteBinary(writer);
     }
     if (RagdollBipedData != null)
     {
         RagdollBipedData.WriteBinary(writer);
     }
     if (Patrol != null)
     {
         Patrol.WriteBinary(writer);
     }
     if (LevelModifier != null)
     {
         LevelModifier.WriteBinary(writer);
     }
     if (Owner != null)
     {
         Owner.WriteBinary(writer);
     }
     if (FactionRank != null)
     {
         FactionRank.WriteBinary(writer);
     }
     if (MerchantContainer != null)
     {
         MerchantContainer.WriteBinary(writer);
     }
     if (Count != null)
     {
         Count.WriteBinary(writer);
     }
     if (Radius != null)
     {
         Radius.WriteBinary(writer);
     }
     if (Health != null)
     {
         Health.WriteBinary(writer);
     }
     if (Decals != null)
     {
         foreach (var item in Decals)
         {
             item.WriteBinary(writer);
         }
     }
     if (LinkedReference != null)
     {
         LinkedReference.WriteBinary(writer);
     }
     if (LinkedReferenceColor != null)
     {
         LinkedReferenceColor.WriteBinary(writer);
     }
     if (ParentActivateOnly != null)
     {
         ParentActivateOnly.WriteBinary(writer);
     }
     if (ActivateParents != null)
     {
         foreach (var item in ActivateParents)
         {
             item.WriteBinary(writer);
         }
     }
     if (ActivationPrompt != null)
     {
         ActivationPrompt.WriteBinary(writer);
     }
     if (EnableParent != null)
     {
         EnableParent.WriteBinary(writer);
     }
     if (Emittance != null)
     {
         Emittance.WriteBinary(writer);
     }
     if (MultiBound != null)
     {
         MultiBound.WriteBinary(writer);
     }
     if (IgnoredBySandbox != null)
     {
         IgnoredBySandbox.WriteBinary(writer);
     }
     if (Scale != null)
     {
         Scale.WriteBinary(writer);
     }
     if (PositionRotation != null)
     {
         PositionRotation.WriteBinary(writer);
     }
 }
Esempio n. 2
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);
     }
 }