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.

40 lines
801 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // hltvtest.h: hltv test system
  9. //
  10. //////////////////////////////////////////////////////////////////////
  11. #ifndef HLTVTEST_H
  12. #define HLTVTEST_H
  13. #ifdef _WIN32
  14. #pragma once
  15. #endif
  16. #include "utlvector.h"
  17. class CHLTVServer;
  18. class CHLTVTestSystem
  19. {
  20. public:
  21. CHLTVTestSystem(void);
  22. ~CHLTVTestSystem(void);
  23. void RunFrame();
  24. bool StartTest(int nClients, const char *pszAddress);
  25. void RetryTest(int nClients);
  26. bool StopsTest();
  27. protected:
  28. CUtlVector<CHLTVServer*> m_Servers;
  29. };
  30. extern CHLTVTestSystem *hltvtest; // The global HLTV server/object. NULL on xbox.
  31. #endif // HLTVSERVER_H