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.

45 lines
1.1 KiB

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef RULESINFOMSGHANDLERDETAILS_H
#define RULESINFOMSGHANDLERDETAILS_H
#ifdef _WIN32
#pragma once
#endif
#include "Socket.h"
#include "utlvector.h"
class CRulesInfo;
#include <VGUI_PropertyPage.h>
#include <VGUI_Frame.h>
#include <VGUI_ListPanel.h>
#include <VGUI_KeyValues.h>
//-----------------------------------------------------------------------------
// Purpose: Socket handler for pinging internet servers
//-----------------------------------------------------------------------------
class CRulesInfoMsgHandlerDetails : public CMsgHandler
{
public:
CRulesInfoMsgHandlerDetails(CRulesInfo *baseobject, HANDLERTYPE type, void *typeinfo = NULL);
virtual bool Process(netadr_t *from, CMsgBuffer *msg);
private:
// the parent class that we push info back to
CRulesInfo *m_pRulesInfo;
CUtlVector<vgui::KeyValues *> *m_vRules;
};
#endif // RULESINFOMSGHANDLERDETAILS_H