29 lines
468 B
C++
29 lines
468 B
C++
|
|
|
|
#pragma once
|
|
|
|
#include <Windows.h>
|
|
|
|
const int MAX_CMD_LEN = 256;
|
|
|
|
class SGameConsole
|
|
{
|
|
public:
|
|
SGameConsole();
|
|
~SGameConsole();
|
|
|
|
BOOL IsExistCommand() { return m_bExistCommand; }
|
|
const char * GetCommand();
|
|
void ReSet();
|
|
|
|
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
|
|
|
protected:
|
|
|
|
BOOL m_bExistCommand; ///< 입련된 명령어가 있는가?
|
|
char m_szCommand[MAX_CMD_LEN]; ///< 입력된 명령어
|
|
|
|
|
|
private:
|
|
|
|
}; |