What does it mean if a guy friend tells his friend that I'm just a friend of his and that he could've won my heart if he wanted to?

we were sitting and he was flirting with me ( trying to impress me) when a guy asked him that if he's trying to win me, and he told him "no if I wanted to I would've, but she's my friend". he looked at me smiling while saying this.

What does it mean if a guy friend tells his friend that I'm just a friend of his and that he could've won my heart if he wanted to?
Post Opinion