public void MergeFrom(GetFortressDetailsResponse other) { if (other == null) { return; } if (other.FortressTemplateGmtId.Length != 0) { FortressTemplateGmtId = other.FortressTemplateGmtId; } chambers_.Add(other.chambers_); if (other.PartnerId.Length != 0) { PartnerId = other.PartnerId; } if (other.poiDetails_ != null) { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } PoiDetails.MergeFrom(other.PoiDetails); } if (other.PoiAccessibility != 0) { PoiAccessibility = other.PoiAccessibility; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(GetOutpostDetailsResponse other) { if (other == null) { return; } imageUrls_.Add(other.imageUrls_); if (other.currentMenu_ != null) { if (currentMenu_ == null) { CurrentMenu = new global::WUProtos.Data.OutpostMenu(); } CurrentMenu.MergeFrom(other.CurrentMenu); } if (other.PartnerId.Length != 0) { PartnerId = other.PartnerId; } if (other.poiDetails_ != null) { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } PoiDetails.MergeFrom(other.PoiDetails); } if (other.PoiAccessibility != 0) { PoiAccessibility = other.PoiAccessibility; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public override int GetHashCode() { int hash = 1; if (FortressTemplateGmtId.Length != 0) { hash ^= FortressTemplateGmtId.GetHashCode(); } hash ^= chambers_.GetHashCode(); if (PartnerId.Length != 0) { hash ^= PartnerId.GetHashCode(); } if (poiDetails_ != null) { hash ^= PoiDetails.GetHashCode(); } if (PoiAccessibility != 0) { hash ^= PoiAccessibility.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; hash ^= imageUrls_.GetHashCode(); if (currentMenu_ != null) { hash ^= CurrentMenu.GetHashCode(); } if (PartnerId.Length != 0) { hash ^= PartnerId.GetHashCode(); } if (poiDetails_ != null) { hash ^= PoiDetails.GetHashCode(); } if (PoiAccessibility != 0) { hash ^= PoiAccessibility.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public void MergeFrom(GetGreenhouseDetailsResponse other) { if (other == null) { return; } if (other.PartnerId.Length != 0) { PartnerId = other.PartnerId; } if (other.poiDetails_ != null) { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } PoiDetails.MergeFrom(other.PoiDetails); } if (other.PoiAccessibility != 0) { PoiAccessibility = other.PoiAccessibility; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }