public override int GetHashCode() { unchecked { var hashcode = 23; hashcode = (hashcode * 31) + GameType.GetHashCode(); hashcode = (hashcode * 31) + TableName.GetHashCode(); return(hashcode); } }
public override int GetHashCode() { int hash = 1; if (LevelId != 0) { hash ^= LevelId.GetHashCode(); } if (BeforeLevelId != 0) { hash ^= BeforeLevelId.GetHashCode(); } if (AfterLevelId != 0) { hash ^= AfterLevelId.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } hash ^= abilities_.GetHashCode(); hash ^= ItemMax.GetHashCode(); hash ^= FansMax.GetHashCode(); if (Max != 0) { hash ^= Max.GetHashCode(); } hash ^= eventId_.GetHashCode(); hash ^= StarSource.GetHashCode(); hash ^= awards_.GetHashCode(); if (GameType != 0) { hash ^= GameType.GetHashCode(); } if (LevelInfoId != 0) { hash ^= LevelInfoId.GetHashCode(); } if (ChapterGroup != 0) { hash ^= ChapterGroup.GetHashCode(); } if (LevelMark.Length != 0) { hash ^= LevelMark.GetHashCode(); } hash ^= LevelPlot.GetHashCode(); hash ^= levelCoordinate_.GetHashCode(); hash ^= levelBackdrop_.GetHashCode(); if (levelExtra_ != null) { hash ^= LevelExtra.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashcode = 23; hashcode = (hashcode * 31) + BigBlind.GetHashCode(); hashcode = (hashcode * 31) + GameType.GetHashCode(); hashcode = (hashcode * 31) + TableTypeDescription.GetHashCode(); hashcode = (hashcode * 31) + Seats.GetHashCode(); hashcode = (hashcode * 31) + Buyin.GetHashCode(); return(hashcode); } }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object" />. /// </returns> public override int GetHashCode() { unchecked { var hashCode = (int)Version; hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Date.GetHashCode(); hashCode = (hashCode * 397) ^ (Map != null ? Map.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Mod != null ? Mod.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Size.GetHashCode(); hashCode = (hashCode * 397) ^ (Server != null ? Server.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (GameType != null ? GameType.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (GameType != 0) { hash ^= GameType.GetHashCode(); } if (GameInfo.Length != 0) { hash ^= GameInfo.GetHashCode(); } if (Extra.Length != 0) { hash ^= Extra.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }