mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-20 04:36:01 +08:00
[server] Match CConsole constructor/destructor
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
|
||||
#include "main.h"
|
||||
|
||||
CConsole::CConsole()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
CConsole::~CConsole()
|
||||
{
|
||||
ConsoleVariables.clear();
|
||||
}
|
||||
|
||||
ConsoleVariable_s* CConsole::FindVariable(char* pVarName)
|
||||
{
|
||||
char VarName[256];
|
||||
|
@ -21,6 +21,9 @@ class CConsole
|
||||
public:
|
||||
StringConvarMap ConsoleVariables;
|
||||
|
||||
CConsole();
|
||||
~CConsole();
|
||||
|
||||
ConsoleVariable_s* FindVariable(char* pVarName);
|
||||
|
||||
void AddVariable(char* pVarName, CON_VARTYPE VarType, DWORD VarFlags, void* VarPtr,
|
||||
|
Reference in New Issue
Block a user