Пример #1
0
 public void MergeFrom(CrafterSavedData other)
 {
     if (other == null)
     {
         return;
     }
     crafterData_.Add(other.crafterData_);
     if (other.transmogData_ != null)
     {
         if (transmogData_ == null)
         {
             transmogData_ = new global::D3.GameBalance.BitPackedGbidArray();
         }
         TransmogData.MergeFrom(other.TransmogData);
     }
     if (other.deprecatedDevilsHandData_ != null)
     {
         if (deprecatedDevilsHandData_ == null)
         {
             deprecatedDevilsHandData_ = new global::D3.ItemCrafting.CrafterDevilsHandData();
         }
         DeprecatedDevilsHandData.MergeFrom(other.DeprecatedDevilsHandData);
     }
     if (other.extractedLegendariesData_ != null)
     {
         if (extractedLegendariesData_ == null)
         {
             extractedLegendariesData_ = new global::D3.GameBalance.BitPackedGbidArray();
         }
         ExtractedLegendariesData.MergeFrom(other.ExtractedLegendariesData);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }