xtjoeytx / GServer-v2

GNU General Public License v3.0
7 stars 10 forks source link

New packet format. #103

Open LoneBoco opened 2 months ago

LoneBoco commented 2 months ago

The existing gserver manually writes packets all over the place. This refactor changes how packets are structured to bring packet serialization code into one common location. Each packet will have a class that contains the contents of the packet and handles serialization/deserialization, so you can work with and pass the data around.