Switching from Console to PC

I have currently switched to PC but I have owned this game for awhile now on xbox. Would I have to re-buy everything to play on PC?

sadly yes, different platforms.
That’s how it works in every game that i know

Yeah that’s kinda what I figured