summaryrefslogblamecommitdiffstats
path: root/source/packets/cPacket_UseEntity.cpp
blob: 9ecb3bffca86f4eb90d17483ad272a618dfe5ab1 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                              
                                                    

                           


                                                                    





                          

#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;
}