MCPcopy Create free account
hub / github.com/cuberite/cuberite / HandlePacketClientStatus

Method HandlePacketClientStatus

src/Protocol/Protocol17x.cpp:1685–1709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1683
1684
1685void cProtocol172::HandlePacketClientStatus(cByteBuffer & a_ByteBuffer)
1686{
1687 HANDLE_READ(a_ByteBuffer, ReadByte, Byte, ActionID);
1688 switch (ActionID)
1689 {
1690 case 0:
1691 {
1692 // Respawn
1693 m_Client->HandleRespawn();
1694 break;
1695 }
1696 case 1:
1697 {
1698 // Request stats
1699 // TODO
1700 break;
1701 }
1702 case 2:
1703 {
1704 // Open Inventory achievement
1705 // TODO
1706 break;
1707 }
1708 }
1709}
1710
1711
1712

Callers

nothing calls this directly

Calls 1

HandleRespawnMethod · 0.80

Tested by

no test coverage detected