source-engine/engine/SVConnectionlessHandler.h
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

39 lines
1000 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef SVCONNECTIONLESSHANDLER_H
#define SVCONNECTIONLESSHANDLER_H
#ifdef _WIN32
#pragma once
#endif
#include "inetmsghandler.h"
class CServerConnectionlessHandler : public IConnectionlessPacketHandler
{
public:
CServerConnectionlessHandler();
virtual ~CServerConnectionlessHandler();
public:
bool ProcessConnectionlessPacket( netpacket_t * packet );
private :
bool ProcessLog(netpacket_t * packet);
bool ProcessGetChallenge(netpacket_t * packet);
bool ProcessConnect(netpacket_t * packet);
bool ProcessInfo(netpacket_t * packet);
bool ProcessDetails(netpacket_t * packet);
bool ProcessPlayers(netpacket_t * packet);
bool ProcessRules(netpacket_t * packet);
bool ProcessRcon(netpacket_t * packet);
};
extern CServerConnectionlessHandler g_SVConnectionlessHandler;
#endif // SVCONNECTIONLESSHANDLER_H