public override int GetHashCode() { int hash = 1; if (combatMoveCase_ == CombatMoveOneofCase.PlayerAttack) { hash ^= PlayerAttack.GetHashCode(); } if (combatMoveCase_ == CombatMoveOneofCase.PlayerDefend) { hash ^= PlayerDefend.GetHashCode(); } if (combatMoveCase_ == CombatMoveOneofCase.PlayerAutoAdvance) { hash ^= PlayerAutoAdvance.GetHashCode(); } if (EnemyActionTimeline.Length != 0) { hash ^= EnemyActionTimeline.GetHashCode(); } if (PlayerSucceedTimeline.Length != 0) { hash ^= PlayerSucceedTimeline.GetHashCode(); } if (PlayerFailedTimeline.Length != 0) { hash ^= PlayerFailedTimeline.GetHashCode(); } hash ^= (int)combatMoveCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (combatMoveCase_ == CombatMoveOneofCase.PlayerAttack) { hash ^= PlayerAttack.GetHashCode(); } if (combatMoveCase_ == CombatMoveOneofCase.PlayerDefend) { hash ^= PlayerDefend.GetHashCode(); } if (combatMoveCase_ == CombatMoveOneofCase.PlayerAutoAdvance) { hash ^= PlayerAutoAdvance.GetHashCode(); } hash ^= (int)combatMoveCase_; if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }