1
0
cuberite-2a/source/packets/cPacket_13.cpp

17 lines
319 B
C++

#include "Globals.h" // NOTE: MSVC stupidness requires this to be the same across all modules
#include "cPacket_13.h"
bool cPacket_13::Parse(cSocket & a_Socket)
{
m_Socket = a_Socket;
if( !ReadInteger( m_EntityID ) ) return false;
if( !ReadByte ( m_ActionID ) ) return false;
return true;
}