Rewritten most of the code for multithreading; still not 100%, but getting there. If this commit proves to be too problematic, we can always undo it.
git-svn-id: http://mc-server.googlecode.com/svn/trunk@251 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
@@ -35,6 +35,20 @@ cPacket_Metadata::cPacket_Metadata()
|
||||
|
||||
|
||||
|
||||
cPacket_Metadata::cPacket_Metadata(const cPacket_Metadata & a_Other)
|
||||
: m_EMetaData( a_Other.m_EMetaData )
|
||||
, m_UniqueID( a_Other.m_UniqueID )
|
||||
, m_Type( a_Other.m_Type )
|
||||
, m_MetaData( NULL )
|
||||
{
|
||||
m_PacketID = E_METADATA;
|
||||
FormPacket();
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
cPacket_Metadata::~cPacket_Metadata()
|
||||
{
|
||||
delete [] m_MetaData;
|
||||
|
||||
Reference in New Issue
Block a user