Exemplo n.º 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);
     }
 }
 public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (LargeIcon != null)
     {
         LargeIcon.WriteBinary(writer);
     }
     if (SmallIcon != null)
     {
         SmallIcon.WriteBinary(writer);
     }
     if (TextureSet != null)
     {
         TextureSet.WriteBinary(writer);
     }
     if (HavokData != null)
     {
         HavokData.WriteBinary(writer);
     }
     if (TextureSpecularExponent != null)
     {
         TextureSpecularExponent.WriteBinary(writer);
     }
     if (Grasses != null)
     {
         foreach (var item in Grasses)
         {
             item.WriteBinary(writer);
         }
     }
 }