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.

38 lines
1013 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef SVCONNECTIONLESSHANDLER_H
  7. #define SVCONNECTIONLESSHANDLER_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "inetmsghandler.h"
  12. class CServerConnectionlessHandler : public IConnectionlessPacketHandler
  13. {
  14. public:
  15. CServerConnectionlessHandler();
  16. virtual ~CServerConnectionlessHandler();
  17. public:
  18. bool ProcessConnectionlessPacket( netpacket_t * packet );
  19. private :
  20. bool ProcessLog(netpacket_t * packet);
  21. bool ProcessGetChallenge(netpacket_t * packet);
  22. bool ProcessConnect(netpacket_t * packet);
  23. bool ProcessInfo(netpacket_t * packet);
  24. bool ProcessDetails(netpacket_t * packet);
  25. bool ProcessPlayers(netpacket_t * packet);
  26. bool ProcessRules(netpacket_t * packet);
  27. bool ProcessRcon(netpacket_t * packet);
  28. };
  29. extern CServerConnectionlessHandler g_SVConnectionlessHandler;
  30. #endif // SVCONNECTIONLESSHANDLER_H