Team Fortress 2 Source Code as on 22/4/2020
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.

32 lines
1.0 KiB

  1. //========= Copyright 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. if ( cl.m_StringTableContainer )
  24. {
  25. cl.m_StringTableContainer->Dump();
  26. }
  27. }