Beispiel #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var result = _difficultyIndex;
         result = (result * 397) ^ BindTime.GetHashCode();
         result = (result * 397) ^ MapId.GetHashCode();
         result = (result * 397) ^ InstanceId.GetHashCode();
         return(result);
     }
 }
Beispiel #2
0
 public override int GetHashCode()
 {
     return(((_difficultyIndex * 397 ^ BindTime.GetHashCode()) * 397 ^ MapId.GetHashCode()) *
            397 ^ InstanceId.GetHashCode());
 }