public override void WriteData(ESPWriter writer)
 {
     if (EditorID != null)
     {
         EditorID.WriteBinary(writer);
     }
     if (ObjectBounds != null)
     {
         ObjectBounds.WriteBinary(writer);
     }
     if (Sounds != null)
     {
         foreach (var item in Sounds)
         {
             item.WriteBinary(writer);
         }
     }
     if (WallaTriggerCount != null)
     {
         WallaTriggerCount.WriteBinary(writer);
     }
     if (UseSoundFromRegion != null)
     {
         UseSoundFromRegion.WriteBinary(writer);
     }
     if (EnvironmentType != null)
     {
         EnvironmentType.WriteBinary(writer);
     }
     if (IsInterior != null)
     {
         IsInterior.WriteBinary(writer);
     }
 }