lance-gg / lance

Multiplayer game server based on Node.JS
https://lance-gg.github.io/
Apache License 2.0
1.58k stars 168 forks source link

Make some sweet sweet documentation love to the Serializer types. #84

Closed rateforx closed 6 years ago

rateforx commented 6 years ago

Also, "You should definitely add a more informative error for netScheme property definition".

namel commented 6 years ago

I've updated the docs in the develop branch, will take a while to propagate. I also had to separate out the base types to a class BaseTypes.js in order to break a circular reference in Serializer.js Using the base types directly from Serializer.js is now deprecated, and all the demo games should be updated at some point.