Hey all, I'd really like to pull the networking protocol encoding, decoding, and types from my Betamine project out into a separate package. My hope is that it'd do some heavy lifting for anyone interested in making a Minecraft related project in Gleam (client, chat bot, plugins, etc..). My main issue is there's a whole lot of different packets that can be sent and received and need to be encoded and decoded (over 200
) some with no data and some with loads of data.
Are there any existing packages of this scale I could reference? I'm trying to figure out how to structure the project along with the types in an intuitive way for others to utilize.