mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[saco] Implement CCmdWindow::AddDefaultCmdProc
This commit is contained in:
parent
e1fc24b768
commit
99b6dd3eda
@ -1,7 +1,16 @@
|
||||
|
||||
#include "cmdwindow.h"
|
||||
#include "main.h"
|
||||
|
||||
CCmdWindow::CCmdWindow()
|
||||
{
|
||||
// TODO: CCmdWindow::CCmdWindow() .text:100693D0
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
||||
void CCmdWindow::AddDefaultCmdProc(CMDPROC cmdDefault)
|
||||
{
|
||||
m_pDefaultCmd = cmdDefault;
|
||||
}
|
||||
|
||||
//----------------------------------------------------
|
||||
|
@ -1,11 +1,20 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
typedef void (__cdecl *CMDPROC)(PCHAR);
|
||||
|
||||
class CCmdWindow // size: 6908
|
||||
{
|
||||
private:
|
||||
char _gap0[6908];
|
||||
|
||||
public:
|
||||
|
||||
CMDPROC m_pDefaultCmd; // used when no command specifier was
|
||||
// used (ie. a normal chat message)
|
||||
|
||||
|
||||
CCmdWindow();
|
||||
|
||||
void AddDefaultCmdProc(CMDPROC cmdDefault);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user