{"push_id":566097888,"size":1,"distinct_size":1,"ref":"refs/heads/packet-handling_2","head":"830982be76b6ced04c5c53b2a966435bad2cd91a","before":"22071057d87313533f4a91b419b91fa9926f7af0","commits":[{"sha":"830982be76b6ced04c5c53b2a966435bad2cd91a","author":{"email":"41d515ee26e1661f7493f5dfbf84a0ce76f8f398@unix-experience.fr","name":"Loic Blot"},"message":"NetworkPacket: new functionnalities & client use\n* Remove some deprecated functions, we must use streaming interface\n* m_data converted from u8* to std::vector<u8>\n* Add an exporter to forge packet to Connection object\n* implement operator << std::wstring.\n* implement operator << std::string\n* dynamic resize when write packet content.\n* fix string writing and performances.\n* create ServerCommandFactory, used by client to get useful informations about packet processing (sending).\n  * Reliability\n  * Transmit channel\n* Implement putRawString for some ugly char (_INIT packet), and use it.\n* Many packet read and write migrated\n* Implement oldForgePacket to interface writing with current connection\n* fix U8/char/bool writing\n* fix string writing and performances.\n* add some missing functions\n* Use v3s16 read instead of reading x,y,z separately\n\nPacketFactories:\n* Create ServerCommandFactory, used by client to get useful informations about packet processing (sending).\n* Create ClientCommandFactory, used by server to get useful informations about packet processing (sending).\n\nClient.cpp:\n* implement NetworkPacket ::Send interface.\n\nServer.cpp:\n* implement NetworkPacket ::Send interface.\n\nConnection.hpp rework:\n* Remove duplicate include\n* Remove duplicate negation\n* Remove a useless variable\n* Improve code performance by using a m_peers_list instead of scanning m_peers map\n\nMisc:\n* add new wrappers to Send packets in client, using NetworkPacket\n* Add NetworkPacket methods for Connection\n* coding style fix\n* dead code since changes cleanup\n* Use v3s16 read instead of reading x,y,z separately in some packets\n* Use different files to handle packets received by client and server\n* Cleanup: Remove useless includes","distinct":true,"url":"https://api.github.com/repos/nerzhul/minetest/commits/830982be76b6ced04c5c53b2a966435bad2cd91a"}]}