2012-02-07 12:49:52 -08:00
|
|
|
|
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
|
|
|
|
2012-02-07 12:49:52 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-03 11:41:19 -07:00
|
|
|
class cPacket_Metadata : public cPacket
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cPacket_Metadata(int s, int id);
|
|
|
|
cPacket_Metadata();
|
2012-02-13 13:47:03 -08:00
|
|
|
cPacket_Metadata(const cPacket_Metadata & a_Other);
|
2011-10-03 11:41:19 -07:00
|
|
|
~cPacket_Metadata();
|
|
|
|
|
2012-02-07 12:49:52 -08:00
|
|
|
virtual void Serialize(AString & a_Data) const override;
|
|
|
|
|
2011-10-03 11:41:19 -07:00
|
|
|
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;
|
|
|
|
};
|
2012-02-07 12:49:52 -08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|