summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_UseEntity.cpp
blob: 73b4f7f828ba1c2ef21f326ac4ed407520791b28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#include "Globals.h"  // NOTE: MSVC stupidness requires this to be the same across all modules

#include "cPacket_UseEntity.h"





int cPacket_UseEntity::Parse(cByteBuffer & a_Buffer)
{
	int TotalBytes = 0;
	HANDLE_PACKET_READ(ReadBEInt, m_UniqueID,   TotalBytes);
	HANDLE_PACKET_READ(ReadBEInt, m_TargetID,   TotalBytes);
	HANDLE_PACKET_READ(ReadBool,  m_bLeftClick, TotalBytes);
	return TotalBytes;
}