mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
54 lines
1.1 KiB
C++
54 lines
1.1 KiB
C++
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
//=============================================================================//
|
||
|
|
||
|
#include "dt_recv_decoder.h"
|
||
|
|
||
|
// memdbgon must be the last include file in a .cpp file!!!
|
||
|
#include "tier0/memdbgon.h"
|
||
|
|
||
|
// ------------------------------------------------------------------------------------ //
|
||
|
// CRecvDecoder.
|
||
|
// ------------------------------------------------------------------------------------ //
|
||
|
|
||
|
CRecvDecoder::CRecvDecoder()
|
||
|
{
|
||
|
m_pTable = 0;
|
||
|
m_pClientSendTable = 0;
|
||
|
}
|
||
|
|
||
|
CClientSendProp::CClientSendProp()
|
||
|
{
|
||
|
m_pTableName = 0;
|
||
|
}
|
||
|
|
||
|
CClientSendProp::~CClientSendProp()
|
||
|
{
|
||
|
delete [] m_pTableName;
|
||
|
}
|
||
|
|
||
|
|
||
|
CClientSendTable::CClientSendTable()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
|
||
|
CClientSendTable::~CClientSendTable()
|
||
|
{
|
||
|
delete [] m_SendTable.m_pNetTableName;
|
||
|
|
||
|
for ( int iProp=0; iProp < m_SendTable.m_nProps; iProp++ )
|
||
|
{
|
||
|
delete [] m_SendTable.m_pProps[iProp].m_pVarName;
|
||
|
delete [] m_SendTable.m_pProps[iProp].m_pExcludeDTName;
|
||
|
delete [] m_SendTable.m_pProps[iProp].m_pParentArrayPropName;
|
||
|
}
|
||
|
|
||
|
delete [] m_SendTable.m_pProps;
|
||
|
}
|
||
|
|
||
|
|
||
|
|