public override int GetHashCode() { var hashCode = -857101207; hashCode = hashCode * -1521134295 + TitleId.GetHashCode(); hashCode = hashCode * -1521134295 + PlayerId.GetHashCode(); return(hashCode); }
public override int GetHashCode() { var hashCode = -1048809701; hashCode = hashCode * -1521134295 + TitleId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(FullName); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(CharacterRole.ToString()); return(hashCode); }
public override int GetHashCode() { var hashCode = 346366327; hashCode = hashCode * -1521134295 + TitleId.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + GameVersion.GetHashCode(); hashCode = hashCode * -1521134295 + DlcVersion.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Path); return(hashCode); }
public override int GetHashCode() { // ReSharper disable NonReadonlyMemberInGetHashCode int hashCode = 487790375; hashCode = hashCode * -1521134295 + TitleId.GetHashCode(); hashCode = hashCode * -1521134295 + Type.GetHashCode(); hashCode = hashCode * -1521134295 + UserId.GetHashCode(); hashCode = hashCode * -1521134295 + SaveDataId.GetHashCode(); hashCode = hashCode * -1521134295 + Rank.GetHashCode(); hashCode = hashCode * -1521134295 + Index.GetHashCode(); return(hashCode); // ReSharper restore NonReadonlyMemberInGetHashCode }
public override int GetHashCode() { unchecked { // ReSharper disable NonReadonlyMemberInGetHashCode int hashCode = TitleId.GetHashCode(); hashCode = (hashCode * 397) ^ UserId.GetHashCode(); hashCode = (hashCode * 397) ^ SaveId.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Type; hashCode = (hashCode * 397) ^ Rank.GetHashCode(); hashCode = (hashCode * 397) ^ Index.GetHashCode(); return(hashCode); // ReSharper restore NonReadonlyMemberInGetHashCode } }
public override int GetHashCode() { int hash = 1; if (Nickname.Length != 0) { hash ^= Nickname.GetHashCode(); } if (Level != 0) { hash ^= Level.GetHashCode(); } if (DistanceWalkedKm != 0F) { hash ^= pbc::ProtobufEqualityComparers.BitwiseSingleEqualityComparer.GetHashCode(DistanceWalkedKm); } if (MaxHp != 0L) { hash ^= MaxHp.GetHashCode(); } if (AttackPower != 0L) { hash ^= AttackPower.GetHashCode(); } if (PlayerTeamId.Length != 0) { hash ^= PlayerTeamId.GetHashCode(); } if (ProfessionId.Length != 0) { hash ^= ProfessionId.GetHashCode(); } if (TitleId.Length != 0) { hash ^= TitleId.GetHashCode(); } hash ^= unlockedTitleIds_.GetHashCode(); if (ThemeId.Length != 0) { hash ^= ThemeId.GetHashCode(); } hash ^= unlockedThemeIds_.GetHashCode(); if (HouseId.Length != 0) { hash ^= HouseId.GetHashCode(); } if (wand_ != null) { hash ^= Wand.GetHashCode(); } hash ^= favoriteBadgeIds_.GetHashCode(); hash ^= unlockedBadgeIds_.GetHashCode(); hash ^= favoriteTitleIds_.GetHashCode(); if (FirstName.Length != 0) { hash ^= FirstName.GetHashCode(); } if (LastName.Length != 0) { hash ^= LastName.GetHashCode(); } if (ProfileCreationLocation.Length != 0) { hash ^= ProfileCreationLocation.GetHashCode(); } hash ^= unlockedSelfieAssetIds_.GetHashCode(); if (TotalSwishSuccessSpell != 0L) { hash ^= TotalSwishSuccessSpell.GetHashCode(); } hash ^= discoveredPotionsMasterNoteIds_.GetHashCode(); if (emailOpts_ != null) { hash ^= EmailOpts.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }