Files
hl2_src-leak-2017/src/gameui/CreateMultiplayerGameDialog.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

48 lines
1.3 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef CREATEMULTIPLAYERGAMEDIALOG_H
#define CREATEMULTIPLAYERGAMEDIALOG_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/PropertyDialog.h>
class CCreateMultiplayerGameServerPage;
class CCreateMultiplayerGameGameplayPage;
class CCreateMultiplayerGameBotPage;
//-----------------------------------------------------------------------------
// Purpose: dialog for launching a listenserver
//-----------------------------------------------------------------------------
class CCreateMultiplayerGameDialog : public vgui::PropertyDialog
{
DECLARE_CLASS_SIMPLE( CCreateMultiplayerGameDialog, vgui::PropertyDialog );
public:
CCreateMultiplayerGameDialog(vgui::Panel *parent);
~CCreateMultiplayerGameDialog();
protected:
virtual bool OnOK(bool applyOnly);
virtual void OnKeyCodePressed( vgui::KeyCode code );
private:
CCreateMultiplayerGameServerPage *m_pServerPage;
CCreateMultiplayerGameGameplayPage *m_pGameplayPage;
CCreateMultiplayerGameBotPage *m_pBotPage;
bool m_bBotsEnabled;
// for loading/saving game config
KeyValues *m_pSavedData;
};
#endif // CREATEMULTIPLAYERGAMEDIALOG_H