Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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
1000 B

//========= 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