[saco] Implement CCmdWindow::AddDefaultCmdProc

This commit is contained in:
RD42 2024-02-02 22:47:18 +08:00
parent e1fc24b768
commit 99b6dd3eda
2 changed files with 19 additions and 1 deletions

View File

@ -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;
}
//----------------------------------------------------

View File

@ -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);
};