Seaside/SpyCustom/sdk/gameconsole.h
2021-06-16 18:45:17 +03:00

42 lines
651 B
C++

#ifndef GAMECONSOLE_H
#define GAMECONSOLE_H
#ifdef _WIN32
#pragma once
#endif
#include "IGameConsole.h"
class CGameConsoleDialog;
class CGameConsole : public IGameConsole
{
public:
CGameConsole();
~CGameConsole();
void Initialize();
virtual void Activate();
virtual void Hide();
virtual void Clear();
void HideImmediately(void);
virtual bool IsConsoleVisible();
void ActivateDelayed(float time);
void SetParent(int parent);
void Shutdown(void);
static void OnCmdCondump();
private:
bool m_bInitialized;
CGameConsoleDialog* m_pConsole;
};
extern CGameConsole& GameConsole();
#endif