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); }
public override int GetHashCode() { int hash = 1; hash ^= crafterData_.GetHashCode(); if (transmogData_ != null) { hash ^= TransmogData.GetHashCode(); } if (deprecatedDevilsHandData_ != null) { hash ^= DeprecatedDevilsHandData.GetHashCode(); } if (extractedLegendariesData_ != null) { hash ^= ExtractedLegendariesData.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }