Esempio n. 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 (ProjectileData != null)
     {
         ProjectileData.WriteBinary(writer);
     }
     if (MuzzleFlashModelFilename != null)
     {
         MuzzleFlashModelFilename.WriteBinary(writer);
     }
     if (MuzzleFlashModelTextureHash != null)
     {
         MuzzleFlashModelTextureHash.WriteBinary(writer);
     }
     if (SoundLevel != null)
     {
         SoundLevel.WriteBinary(writer);
     }
 }