Пример #1
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (Model != null)
     {
         Model.WriteBinary(writer);
     }
     if (Data != null)
     {
         Data.WriteBinary(writer);
     }
     if (DecalData != null)
     {
         DecalData.WriteBinary(writer);
     }
     if (TextureSet != null)
     {
         TextureSet.WriteBinary(writer);
     }
     if (Sound1 != null)
     {
         Sound1.WriteBinary(writer);
     }
     if (Sound2 != null)
     {
         Sound2.WriteBinary(writer);
     }
 }
Пример #2
0
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (ObjectBounds != null)
     {
         ObjectBounds.WriteBinary(writer);
     }
     if (BaseImage_Transparency != null)
     {
         BaseImage_Transparency.WriteBinary(writer);
     }
     if (NormalMap_Specular != null)
     {
         NormalMap_Specular.WriteBinary(writer);
     }
     if (EnvironmentMapMask != null)
     {
         EnvironmentMapMask.WriteBinary(writer);
     }
     if (GlowMap != null)
     {
         GlowMap.WriteBinary(writer);
     }
     if (ParallaxMap != null)
     {
         ParallaxMap.WriteBinary(writer);
     }
     if (EnvironmentMap != null)
     {
         EnvironmentMap.WriteBinary(writer);
     }
     if (DecalData != null)
     {
         DecalData.WriteBinary(writer);
     }
     if (TextureSetFlags != null)
     {
         TextureSetFlags.WriteBinary(writer);
     }
 }