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_UseEntity.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-08-17 06:18:07 -04:00
|
|
|
int cPacket_UseEntity::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(ReadBEInt, m_UniqueID, TotalBytes);
|
|
|
|
HANDLE_PACKET_READ(ReadBEInt, m_TargetID, TotalBytes);
|
|
|
|
HANDLE_PACKET_READ(ReadBool, m_bLeftClick, TotalBytes);
|
2012-06-14 09:06:06 -04:00
|
|
|
return TotalBytes;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|