08-28-2017, 09:47 AM
A rainy day and a packet of M&Ms combined to make a proof of concept: https://github.com/cuberite/cuberite/com...:packetIds
That branch's GetPacketId method will call super::GetPacketId for packets which didn't change at all in that version, so there's a bit of a potential performance hit there (my computer is currently too swamped to do any decent performance testing right now, but tomorrow hopefully).
That branch's GetPacketId method will call super::GetPacketId for packets which didn't change at all in that version, so there's a bit of a potential performance hit there (my computer is currently too swamped to do any decent performance testing right now, but tomorrow hopefully).