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.

34 lines
1.1 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "quakedef.h"
  8. #include "networkstringtable.h"
  9. #include "client.h"
  10. // memdbgon must be the last include file in a .cpp file!!!
  11. #include "tier0/memdbgon.h"
  12. #ifndef SHARED_NET_STRING_TABLES
  13. static CNetworkStringTableContainer s_NetworkStringTableClient;
  14. CNetworkStringTableContainer *networkStringTableContainerClient = &s_NetworkStringTableClient;
  15. // Expose to client .dll
  16. EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CNetworkStringTableContainer, INetworkStringTableContainer, INTERFACENAME_NETWORKSTRINGTABLECLIENT, s_NetworkStringTableClient );
  17. #endif
  18. //-----------------------------------------------------------------------------
  19. // Purpose:
  20. //-----------------------------------------------------------------------------
  21. void CL_PrintStringTables( void )
  22. {
  23. #ifndef DEDICATED
  24. if ( GetBaseLocalClient().m_StringTableContainer )
  25. {
  26. GetBaseLocalClient().m_StringTableContainer->Dump();
  27. }
  28. #endif
  29. }