Got take my generic Minecraft packet parsing work in c++, this is one of the most fucked up piece of code I have written in a while XD
For example if I want to parse the handshake packet I can just declare this struct
And then just create a function like this
For anyone wondering this is the part that took me ages to figure out
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.