2012-06-14 09:06:06 -04:00
|
|
|
|
|
|
|
#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
|
|
|
|
|
|
|
|
#include "cPacket_BlockDig.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-17 06:18:07 -04:00
|
|
|
int cPacket_BlockDig::Parse(cByteBuffer & a_Buffer)
|
2012-06-14 09:06:06 -04:00
|
|
|
{
|
|
|
|
int TotalBytes = 0;
|
2012-08-17 06:18:07 -04:00
|
|
|
HANDLE_PACKET_READ(ReadChar, m_Status, TotalBytes);
|
|
|
|
HANDLE_PACKET_READ(ReadBEInt, m_PosX, TotalBytes);
|
|
|
|
HANDLE_PACKET_READ(ReadChar, m_PosY, TotalBytes);
|
|
|
|
HANDLE_PACKET_READ(ReadBEInt, m_PosZ, TotalBytes);
|
|
|
|
HANDLE_PACKET_READ(ReadChar, m_Direction, TotalBytes);
|
2012-06-14 09:06:06 -04:00
|
|
|
return TotalBytes;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|