Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #include "dt_recv_decoder.h"
  7. // memdbgon must be the last include file in a .cpp file!!!
  8. #include "tier0/memdbgon.h"
  9. // ------------------------------------------------------------------------------------ //
  10. // CRecvDecoder.
  11. // ------------------------------------------------------------------------------------ //
  12. CRecvDecoder::CRecvDecoder()
  13. {
  14. m_pTable = 0;
  15. m_pClientSendTable = 0;
  16. }
  17. CClientSendProp::CClientSendProp()
  18. {
  19. m_pTableName = 0;
  20. }
  21. CClientSendProp::~CClientSendProp()
  22. {
  23. delete [] m_pTableName;
  24. }
  25. CClientSendTable::CClientSendTable()
  26. {
  27. }
  28. CClientSendTable::~CClientSendTable()
  29. {
  30. delete m_SendTable.m_pNetTableName;
  31. for ( int iProp=0; iProp < m_SendTable.m_nProps; iProp++ )
  32. {
  33. delete [] m_SendTable.m_pProps[iProp].m_pVarName;
  34. delete [] m_SendTable.m_pProps[iProp].m_pExcludeDTName;
  35. delete [] m_SendTable.m_pProps[iProp].m_pParentArrayPropName;
  36. }
  37. delete [] m_SendTable.m_pProps;
  38. }