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.

33 lines
761 B

  1. //========= Copyright (c) 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #if !defined( INETMSGHANDLER_H )
  14. #define INETMSGHANDLER_H
  15. #ifdef _WIN32
  16. #pragma once
  17. #endif
  18. #include "inetmessage.h"
  19. class INetChannel;
  20. typedef struct netpacket_s netpacket_t;
  21. class IConnectionlessPacketHandler
  22. {
  23. public:
  24. virtual ~IConnectionlessPacketHandler( void ) {};
  25. virtual bool ProcessConnectionlessPacket( netpacket_t *packet ) = 0; // process a connectionless packet
  26. };
  27. #endif // INETMSGHANDLER_H