2011-10-03 11:41:19 -07:00
|
|
|
#pragma once
|
|
|
|
#include "cPacket.h"
|
2012-01-27 06:04:28 -08:00
|
|
|
|
|
|
|
#include "../cPawn.h"
|
2011-10-03 11:41:19 -07:00
|
|
|
|
|
|
|
class cPacket_Metadata : public cPacket
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cPacket_Metadata(int s, int id);
|
|
|
|
cPacket_Metadata();
|
|
|
|
~cPacket_Metadata();
|
|
|
|
|
|
|
|
bool Send(cSocket & a_Socket);
|
|
|
|
void FormPacket();
|
|
|
|
virtual cPacket* Clone() const { return new cPacket_Metadata( *this ); }
|
|
|
|
|
2011-12-27 18:10:05 -08:00
|
|
|
cPawn::MetaData m_EMetaData;
|
2011-10-03 11:41:19 -07:00
|
|
|
|
|
|
|
static const unsigned int c_Size = 4 + 1;
|
|
|
|
int m_UniqueID;
|
|
|
|
char m_Type;
|
|
|
|
unsigned int m_MetaDataSize;
|
|
|
|
char* m_MetaData;
|
|
|
|
};
|