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.

25 lines
604 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #include "cbase.h"
  8. #include "client_factorylist.h"
  9. // memdbgon must be the last include file in a .cpp file!!!
  10. #include "tier0/memdbgon.h"
  11. static factorylist_t s_factories;
  12. // Store off the factories
  13. void FactoryList_Store( const factorylist_t &sourceData )
  14. {
  15. s_factories = sourceData;
  16. }
  17. // retrieve the stored factories
  18. void FactoryList_Retrieve( factorylist_t &destData )
  19. {
  20. destData = s_factories;
  21. }