public override int GetHashCode() { int hash = 1; if (conditionCase_ == ConditionOneofCase.Always) { hash ^= Always.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.EnemyTagCond) { hash ^= EnemyTagCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.StatsTagCond) { hash ^= StatsTagCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.BuffCountCond) { hash ^= BuffCountCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.RuneInChallengeCond) { hash ^= RuneInChallengeCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.TimeRemainingCond) { hash ^= TimeRemainingCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.FocusLevelCond) { hash ^= FocusLevelCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.TeamCompositionCond) { hash ^= TeamCompositionCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.TimeOfDayCond) { hash ^= TimeOfDayCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.WeatherCond) { hash ^= WeatherCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.TeamPropertyCond) { hash ^= TeamPropertyCond.GetHashCode(); } if (conditionCase_ == ConditionOneofCase.EnemiesDefeatedCond) { hash ^= EnemiesDefeatedCond.GetHashCode(); } hash ^= (int)conditionCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }