summaryrefslogtreecommitdiffstats
path: root/src/Protocol/PacketID.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-23recover hotbar selected slot after reconnect (#4249)changyong guo1-0/+3
1. implement protocol message SendHeldItemChange 2. add save / load inventory equipped item slot in JSON 3. send held item slot message after player connect to server Fixes #4189
2018-02-05Deal with covered switches consistently (#4161)peterbell101-5/+1
* Fixes a number of "<function>: not all control paths return a value" warnings on MSVC. * Introduces the UNREACHABLE global macro and uses it instead of conditionally compiled switch defaults. * Move cNBTParseErrorCategory from FastNBT.h into FastNBT.cpp to prevent bad calls to message()
2017-10-16Fixed FreeBSD build (#4061)Bond-0091-2/+5
2017-09-02GetPacketID for protocol packet IDs (#3977)Lane Kolbly1-0/+182
* Added GetPacketId method to protocol, implemented for all protocols. * Moved GetPacketID methods into a single file, alpha-sorted. * Fixed 1.12.1 HandlePacket switch statement. * Added SendLogin to the GetPacketId framework. * Added SpawnObject to GetPacketId framework. * Added missing sendEntityEquipment packet ID update for 1.12.1 * Added LeashEntity packet ID change to 1.12.1 * Alphabetized packet enum, added SpawnGlobalEntity to GetPacketId framework * Fixed clang errors * Indented cases, expanded comment for GetPacketId * Changed dyslexic comment.