summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_UseEntity.cpp
blob: 6f296e96b4d4c9106bab040eb62aaa85bd2b8983 (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(const char * a_Data, int a_Size)
{
	int TotalBytes = 0;
	HANDLE_PACKET_READ(ReadInteger, m_UniqueID,   TotalBytes);
	HANDLE_PACKET_READ(ReadInteger, m_TargetID,   TotalBytes);
	HANDLE_PACKET_READ(ReadBool,    m_bLeftClick, TotalBytes);
	return TotalBytes;
}