public override int GetHashCode() { int hash = 1; if (Success != false) { hash ^= Success.GetHashCode(); } if (playerData_ != null) { hash ^= PlayerData.GetHashCode(); } if (Banned != false) { hash ^= Banned.GetHashCode(); } if (Warn != false) { hash ^= Warn.GetHashCode(); } if (WasCreated != false) { hash ^= WasCreated.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { int hashCode = (Mobile != null ? Mobile.Serial.Value : 0); hashCode = (hashCode * 397) ^ Date.GetHashCode(); hashCode = (hashCode * 397) ^ (Speech != null ? Speech.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Report != null ? Report.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Jailed.GetHashCode(); hashCode = (hashCode * 397) ^ Banned.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (BaseMap != null ? BaseMap.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (int)AccessControl; hashCode = (hashCode * 397) ^ (Links?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (CreationTimeUtc != null ? CreationTimeUtc.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (LastModifiedTimeUtc != null ? LastModifiedTimeUtc.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Banned.GetHashCode(); hashCode = (hashCode * 397) ^ (Identity != null ? Identity.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Stats != null ? Stats.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (int)AccessControl; hashCode = (hashCode * 397) ^ Banned.GetHashCode(); hashCode = (hashCode * 397) ^ (BaseGame != null ? BaseGame.GetHashCode() : 0); hashCode = (hashCode * 397) ^ BaseGameEngineType; hashCode = (hashCode * 397) ^ (CreationTimeUtc != null ? CreationTimeUtc.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ GameType; hashCode = (hashCode * 397) ^ (Identity != null ? Identity.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (LastModifiedTimeUtc != null ? LastModifiedTimeUtc.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Links?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ MatchDurationInSeconds; hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ NumberOfLives; hashCode = (hashCode * 397) ^ NumberOfRounds; hashCode = (hashCode * 397) ^ ScoreToWin; hashCode = (hashCode * 397) ^ (Stats != null ? Stats.GetHashCode() : 0); return(hashCode); } }