Protocol 1.7: Added client status packet.

master
madmaxoft 2013-11-03 21:34:36 +01:00
parent 7c60ad4856
commit 3002dc8bbf
1 changed files with 22 additions and 1 deletions

View File

@ -1000,7 +1000,28 @@ void cProtocol172::HandlePacketClientSettings(UInt32 a_RemainingBytes)
void cProtocol172::HandlePacketClientStatus(UInt32 a_RemainingBytes)
{
// TODO
HANDLE_PACKET_READ(ReadByte, Byte, ActionID);
switch (ActionID)
{
case 0:
{
// Respawn
m_Client->HandleRespawn();
break;
}
case 1:
{
// Request stats
// TODO
break;
}
case 2:
{
// Open Inventory achievement
// TODO
break;
}
}
}