mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 14:46:53 +00:00
33 lines
786 B
C++
33 lines
786 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================
|
|
|
|
#ifndef MASTERMSGHANDLER_H
|
|
#define MASTERMSGHANDLER_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "Socket.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose: Socket handler for lan broadcast pings
|
|
//-----------------------------------------------------------------------------
|
|
class CMasterMsgHandler : public CMsgHandler
|
|
{
|
|
public:
|
|
CMasterMsgHandler( IGameList *baseobject, HANDLERTYPE type, void *typeinfo = NULL );
|
|
|
|
virtual bool Process( netadr_t *from, CMsgBuffer *msg );
|
|
|
|
private:
|
|
IGameList *m_pGameList;
|
|
};
|
|
|
|
|
|
|
|
#endif // MASTERMSGHANDLER_H
|