"We will have some capital hunting, you and I," said the general. "I shall be most glad to have your society."

why is this paragraph an example of sarcasm?

This paragraph is not an example of sarcasm. It is a simple statement from the general expressing his eagerness to have the company of the other person while hunting for capital.