Commit graph

3 commits

Author SHA1 Message Date
Romain Beaumont
d86a59c393 use protodef utils, fix #295 2015-11-09 15:40:04 +01:00
Romain Beaumont
f45c6dff49 use protodef:
* move general datatypes to protodef along with their tests
* move states to states.js file
* use one protodef serializer by state and direction instead of one big serializer for everything (same thing for the deserializer)
* define a packet as a protodef type using a switch and a container, and adding each minecraft packet as a type (packet_ + name)
* use mapper type from protodef to convert id to name in packet definition
* use general string type : pstring
* divide by 10 the number of iteration in the benchmark to get back to a reasonable test execution time
2015-11-08 23:29:51 +01:00
Romain Beaumont
92b4b2bf8d split the tests in 3 files, fix #265 2015-10-02 02:02:54 +02:00