2012-02-07 15:49:52 -05:00
|
|
|
|
2011-10-03 14:41:19 -04:00
|
|
|
#pragma once
|
|
|
|
#include "cPacket.h"
|
2012-01-27 09:04:28 -05:00
|
|
|
|
|
|
|
#include "../cPawn.h"
|
2011-10-03 14:41:19 -04:00
|
|
|
|
2012-02-07 15:49:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-10-03 14:41:19 -04:00
|
|
|
class cPacket_Metadata : public cPacket
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
cPacket_Metadata(int s, int id);
|
|
|
|
cPacket_Metadata();
|
2012-02-13 16:47:03 -05:00
|
|
|
cPacket_Metadata(const cPacket_Metadata & a_Other);
|
2011-10-03 14:41:19 -04:00
|
|
|
~cPacket_Metadata();
|
|
|
|
|
2012-02-07 15:49:52 -05:00
|
|
|
virtual void Serialize(AString & a_Data) const override;
|
|
|
|
|
2011-10-03 14:41:19 -04:00
|
|
|
void FormPacket();
|
|
|
|
virtual cPacket* Clone() const { return new cPacket_Metadata( *this ); }
|
|
|
|
|
2011-12-27 21:10:05 -05:00
|
|
|
cPawn::MetaData m_EMetaData;
|
2011-10-03 14:41:19 -04: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 15:49:52 -05:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|