public override int GetHashCode() { int hash = 1; if (Result != 0) { hash ^= Result.GetHashCode(); } if (battleLog_ != null) { hash ^= BattleLog.GetHashCode(); } if (BattleId.Length != 0) { hash ^= BattleId.GetHashCode(); } if (activeDefender_ != null) { hash ^= ActiveDefender.GetHashCode(); } if (activeAttacker_ != null) { hash ^= ActiveAttacker.GetHashCode(); } if (battleUpdate_ != null) { hash ^= BattleUpdate.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (battleLog_ != null) { hash ^= BattleLog.GetHashCode(); } if (BattleId.Length != 0) { hash ^= BattleId.GetHashCode(); } if (activeDefender_ != null) { hash ^= ActiveDefender.GetHashCode(); } if (activeAttacker_ != null) { hash ^= ActiveAttacker.GetHashCode(); } if (HighestFriendshipMilestone != 0) { hash ^= HighestFriendshipMilestone.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }