diff -r b181fc6f59c7 -r 9b8a85bf4175 core/systems/PluginSys.cpp --- a/core/systems/PluginSys.cpp Thu Feb 08 20:37:24 2007 +0000 +++ b/core/systems/PluginSys.cpp Thu Feb 08 21:41:28 2007 +0000 @@ -504,11 +504,26 @@ return m_PhraseFiles.size(); } -unsigned int CPlugin::GetFileByIndex(unsigned int index) const +unsigned int CPlugin::GetLangFileByIndex(unsigned int index) const { return m_PhraseFiles.at(index); } +void CPlugin::AddConVar(ConVar *convar) +{ + m_ConVarList.push_back(convar); +} + +size_t CPlugin::GetConVarCount() const +{ + return m_ConVarList.size(); +} + +ConVar *CPlugin::GetConVarByIndex(size_t index) const +{ + return m_ConVarList.at(index); +} + /******************* * PLUGIN ITERATOR * *******************/