summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_UseEntity.cpp
blob: 9ecb3bffca86f4eb90d17483ad272a618dfe5ab1 (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_SourceEntityID, TotalBytes);
	HANDLE_PACKET_READ(ReadBEInt, m_TargetEntityID, TotalBytes);
	HANDLE_PACKET_READ(ReadBool,  m_IsLeftClick,    TotalBytes);
	return TotalBytes;
}