public override int GetHashCode() { int hash = 1; if (Result != 0) { hash ^= Result.GetHashCode(); } if (BattleStartTimestampMs != 0L) { hash ^= BattleStartTimestampMs.GetHashCode(); } if (BattleEndTimestampMs != 0L) { hash ^= BattleEndTimestampMs.GetHashCode(); } if (BattleId.Length != 0) { hash ^= BattleId.GetHashCode(); } if (defender_ != null) { hash ^= Defender.GetHashCode(); } if (battleLog_ != null) { hash ^= BattleLog.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (State != 0) { hash ^= State.GetHashCode(); } if (BattleType != 0) { hash ^= BattleType.GetHashCode(); } if (ServerMs != 0L) { hash ^= ServerMs.GetHashCode(); } hash ^= battleActions_.GetHashCode(); if (BattleStartTimestampMs != 0L) { hash ^= BattleStartTimestampMs.GetHashCode(); } if (BattleEndTimestampMs != 0L) { hash ^= BattleEndTimestampMs.GetHashCode(); } return(hash); }