Just being friendly?

So I was out at a club with some girlfriends and a few of my coworkers joined, this coworker of mine made a point of talking to me the whole night, he kept putting his hands on my waist, sometimes pulling me gently closer to him, sometimes just placing his hand there It was loud in the club so every time we spoke we had to lean in, but felt like he was a bit closer than necessary, practically cheek to cheek, he told me that I was his favorite person at work, bought all my drinks etc... When we got home we text for a bit then the next day he asked when I was out next and we just chatted for a while, we get on really well, I'm unsure whether this is intended as friendly or flirty?