class CConfig *m_pConfig;
in the header now, lets seebool Debug
parameter or CConfig *pConfig
)((CConsole*)pInfo->m_pUserData)
ok?CConsole::CCommand
m_pConfig
, which i want to access, is member of CConsolepInfo->m_pUserData
of type CConsole *
?if(pCommand->m_pfnCallback == Con_Chain)
{
CChain *pChainInfo = static_cast<CChain *>(pCommand->m_pUserData);
whats that? xdCon_Chain
is of type CChain *
CConsole::NextCommandInfo()
?