public override int GetHashCode() { return(Name.GetHashCode() + Price.GetHashCode() + ExternalUrl.GetHashCode() + ImageUrl.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (PageUrl.Length != 0) { hash ^= PageUrl.GetHashCode(); } if (Title.Length != 0) { hash ^= Title.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (RaidSeed != 0L) { hash ^= RaidSeed.GetHashCode(); } if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } if (StartTimeMs != 0L) { hash ^= StartTimeMs.GetHashCode(); } if (EndTimeMs != 0L) { hash ^= EndTimeMs.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Latitude != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude); } if (Longitude != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude); } if (GymName.Length != 0) { hash ^= GymName.GetHashCode(); } if (SpawnTimeMs != 0L) { hash ^= SpawnTimeMs.GetHashCode(); } if (IsCancelled != false) { hash ^= IsCancelled.GetHashCode(); } if (raidPokemon_ != null) { hash ^= RaidPokemon.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { unchecked { int result = Id; result = (result * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); result = (result * 397) ^ (Name != null ? Name.GetHashCode() : 0); result = (result * 397) ^ (Description != null ? Description.GetHashCode() : 0); return(result); } }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (Team != 0) { hash ^= Team.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Fp != 0) { hash ^= Fp.GetHashCode(); } if (Stamina != 0) { hash ^= Stamina.GetHashCode(); } if (MaxStamina != 0) { hash ^= MaxStamina.GetHashCode(); } if (FortType != 0) { hash ^= FortType.GetHashCode(); } if (Latitude != 0L) { hash ^= Latitude.GetHashCode(); } if (Longitude != 0L) { hash ^= Longitude.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (Modifier != 0D) { hash ^= Modifier.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = base.GetHashCode(); hashCode = (hashCode * 397) ^ (Directions != null ? Directions.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AudioUrl != null ? AudioUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Location.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StoreUrl != null ? StoreUrl.GetHashCode() : 0); return(hashCode); } }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { unchecked { int result = Id; result = (result * 397) ^ (Name != null ? Name.GetHashCode() : 0); result = (result * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); result = (result * 397) ^ (StatsUrl != null ? StatsUrl.GetHashCode() : 0); result = (result * 397) ^ (StoreUrl != null ? StoreUrl.GetHashCode() : 0); result = (result * 397) ^ PlayedRecently.GetHashCode(); return(result); } }
public override int GetHashCode() { var hash = 17; hash *= 23 + Id.GetHashCode(); hash *= 23 + DisplayName != null?DisplayName.GetHashCode() : 0; hash *= 23 + ImageUrl != null?ImageUrl.GetHashCode() : 0; hash *= 23 + Reputation.GetHashCode(); return(hash); }
public override int GetHashCode() { unchecked { var hashCode = ContentId.GetHashCode(); hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Id.GetHashCode(); hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (SupportedGameModes?.GetHashCode() ?? 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (RaidSeed != 0L) { hash ^= RaidSeed.GetHashCode(); } if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } if (StartTimeMs != 0L) { hash ^= StartTimeMs.GetHashCode(); } if (EndTimeMs != 0L) { hash ^= EndTimeMs.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Latitude != 0D) { hash ^= Latitude.GetHashCode(); } if (Longitude != 0D) { hash ^= Longitude.GetHashCode(); } if (GymName.Length != 0) { hash ^= GymName.GetHashCode(); } if (SpawnTimeMs != 0L) { hash ^= SpawnTimeMs.GetHashCode(); } if (IsCancelled != false) { hash ^= IsCancelled.GetHashCode(); } if (raidPokemon_ != null) { hash ^= RaidPokemon.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = ContentId.GetHashCode(); hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Id.GetHashCode(); hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ MissionNumber; hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (int)Type; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Code != null ? Code.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Value != null ? Value.GetHashCode() : 0); hashCode = (hashCode * 397) ^ SortOrder; return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = StoreId.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FriendlyName != null ? FriendlyName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (StoreUrl != null ? StoreUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CouponsCount.GetHashCode(); return(hashCode); } }
/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { unchecked { int result = (SteamUserId != null ? SteamUserId.GetHashCode() : 0); result = (result * 397) ^ (Name != null ? Name.GetHashCode() : 0); result = (result * 397) ^ (Description != null ? Description.GetHashCode() : 0); result = (result * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); result = (result * 397) ^ Closed.GetHashCode(); /*result = (result*397) ^ (Game != null ? Game.GetHashCode() : 0);*/ result = (result * 397) ^ Date.GetHashCode(); return(result); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (ImageUrl != null) { hashCode = hashCode * 59 + ImageUrl.GetHashCode(); } hashCode = hashCode * 59 + ImageID.GetHashCode(); return(hashCode); } }
public int GetIdempotentKey() { unchecked { int hashCode = Currency?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ DiscountAmount.GetHashCode(); hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ LineItems.GetIdempotentListKey(); hashCode = (hashCode * 397) ^ (MerchantImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Number?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ TotalGrossAmount.GetHashCode(); hashCode = (hashCode * 397) ^ TotalNetAmount.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Description?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (int)GameMode; hashCode = (hashCode * 397) ^ Id.GetHashCode(); hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ IsRanked.GetHashCode(); hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ ContentId.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TitleLink != null ? TitleLink.GetHashCode() : 0); hashCode = (hashCode * 397) ^ TitleLinkDownloadable.GetHashCode(); hashCode = (hashCode * 397) ^ (Text != null ? Text.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AuthorName != null ? AuthorName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AuthorIcon != null ? AuthorIcon.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThumbUrl != null ? ThumbUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Color != null ? Color.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Timestamp.GetHashCode(); return(hashCode); } }
public int GetIdempotentKey() { unchecked { int hashCode = Description?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ DiscountAmount.GetHashCode(); hashCode = (hashCode * 397) ^ GrossUnitPrice.GetHashCode(); hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ LineNumber; hashCode = (hashCode * 397) ^ NetUnitPrice.GetHashCode(); hashCode = (hashCode * 397) ^ (ProductId?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Quantity.GetHashCode(); hashCode = (hashCode * 397) ^ VatAmount.GetHashCode(); hashCode = (hashCode * 397) ^ VatPercent.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (IconUrl.Length != 0) { hash ^= IconUrl.GetHashCode(); } if (NameKey.Length != 0) { hash ^= NameKey.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Category != 0) { hash ^= Category.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (Hidden != false) { hash ^= Hidden.GetHashCode(); } if (SortOrder != 0) { hash ^= SortOrder.GetHashCode(); } if (BannerEnabled != false) { hash ^= BannerEnabled.GetHashCode(); } if (BannerTitle.Length != 0) { hash ^= BannerTitle.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Description.Length != 0) { hash ^= Description.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = (Id != null ? Id.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Text != null ? Text.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode(); hashCode = (hashCode * 397) ^ (ButtonTitle != null ? ButtonTitle.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ButtonAction != null ? ButtonAction.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Author != null ? Author.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CommentsCount; hashCode = (hashCode * 397) ^ LikesCount; hashCode = (hashCode * 397) ^ IsLikedByMe.GetHashCode(); hashCode = (hashCode * 397) ^ StickyStart.GetHashCode(); hashCode = (hashCode * 397) ^ StickyEnd.GetHashCode(); hashCode = (hashCode * 397) ^ (Mentions != null ? Mentions.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (FeedId != null ? FeedId.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (IconUrl.Length != 0) { hash ^= IconUrl.GetHashCode(); } if (NameKey.Length != 0) { hash ^= NameKey.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } if (StartTimeMs != 0L) { hash ^= StartTimeMs.GetHashCode(); } if (EndTimeMs != 0L) { hash ^= EndTimeMs.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Latitude != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Latitude); } if (Longitude != 0D) { hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(Longitude); } if (GymName.Length != 0) { hash ^= GymName.GetHashCode(); } hash ^= rewards_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (Asr.Length != 0) { hash ^= Asr.GetHashCode(); } if (Transcript.Length != 0) { hash ^= Transcript.GetHashCode(); } if (IsFinal != false) { hash ^= IsFinal.GetHashCode(); } if (Confidence != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(Confidence); } if (Answer.Length != 0) { hash ^= Answer.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (ImageYesNo.Length != 0) { hash ^= ImageYesNo.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (RaidSeed != 0L) { hash ^= RaidSeed.GetHashCode(); } if (FortId.Length != 0) { hash ^= FortId.GetHashCode(); } if (StartTimeMs != 0L) { hash ^= StartTimeMs.GetHashCode(); } if (EndTimeMs != 0L) { hash ^= EndTimeMs.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (Latitude != 0D) { hash ^= Latitude.GetHashCode(); } if (Longitude != 0D) { hash ^= Longitude.GetHashCode(); } if (GymName.Length != 0) { hash ^= GymName.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (HasUsername) { hash ^= Username.GetHashCode(); } if (HasFullName) { hash ^= FullName.GetHashCode(); } if (HasImageUrl) { hash ^= ImageUrl.GetHashCode(); } if (HasLargeImageUrl) { hash ^= LargeImageUrl.GetHashCode(); } if (HasFirstName) { hash ^= FirstName.GetHashCode(); } if (HasLastName) { hash ^= LastName.GetHashCode(); } if (HasFacebookUid) { hash ^= FacebookUid.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(((ImageUrl != null) ? ImageUrl.GetHashCode() : 0) ^ ((ImageWidth != null) ? ImageWidth.GetHashCode() : 0) ^ ((ImageHeight != null) ? ImageHeight.GetHashCode() : 0)); }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (LastModifiedTimestampMs != 0L) { hash ^= LastModifiedTimestampMs.GetHashCode(); } if (Latitude != 0D) { hash ^= Latitude.GetHashCode(); } if (Longitude != 0D) { hash ^= Longitude.GetHashCode(); } if (OwnedByTeam != 0) { hash ^= OwnedByTeam.GetHashCode(); } if (GuardPokemonId != 0) { hash ^= GuardPokemonId.GetHashCode(); } if (GuardPokemonCp != 0) { hash ^= GuardPokemonCp.GetHashCode(); } if (Enabled != false) { hash ^= Enabled.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (GymPoints != 0L) { hash ^= GymPoints.GetHashCode(); } if (IsInBattle != false) { hash ^= IsInBattle.GetHashCode(); } hash ^= activeFortModifier_.GetHashCode(); if (lureInfo_ != null) { hash ^= LureInfo.GetHashCode(); } if (CooldownCompleteTimestampMs != 0L) { hash ^= CooldownCompleteTimestampMs.GetHashCode(); } if (Sponsor != 0) { hash ^= Sponsor.GetHashCode(); } if (RenderingType != 0) { hash ^= RenderingType.GetHashCode(); } if (DeployLockoutEndMs != 0L) { hash ^= DeployLockoutEndMs.GetHashCode(); } if (guardPokemonDisplay_ != null) { hash ^= GuardPokemonDisplay.GetHashCode(); } if (Closed != false) { hash ^= Closed.GetHashCode(); } if (raidInfo_ != null) { hash ^= RaidInfo.GetHashCode(); } if (gymDisplay_ != null) { hash ^= GymDisplay.GetHashCode(); } if (Visited != false) { hash ^= Visited.GetHashCode(); } if (SameTeamDeployLockoutEndMs != 0L) { hash ^= SameTeamDeployLockoutEndMs.GetHashCode(); } if (AllowCheckin != false) { hash ^= AllowCheckin.GetHashCode(); } if (ImageUrl.Length != 0) { hash ^= ImageUrl.GetHashCode(); } if (InEvent != false) { hash ^= InEvent.GetHashCode(); } if (BannerUrl.Length != 0) { hash ^= BannerUrl.GetHashCode(); } return(hash); }