diff -r e82968c21606 -r 716af2e7be78 sourcemm/ISmmPlugin.h --- a/sourcemm/ISmmPlugin.h Tue Sep 18 20:03:47 2007 +0000 +++ b/sourcemm/ISmmPlugin.h Tue Sep 18 20:35:29 2007 +0000 @@ -20,7 +20,7 @@ #include #include "ISmmAPI.h" -#define PLAPI_VERSION 10 +#define PLAPI_VERSION 12 #define PLAPI_NAME "ISmmPlugin" class ISmmAPI; @@ -316,6 +316,16 @@ virtual void OnVSPListening(IServerPluginCallbacks *iface) { } + + /* @brief Called when Metamod:Source is about to remove a concommand or convar. + * This can also be called if ISmmAPI::UnregisterConCmdBase is used by a plugin. + * + * @param id Id of the plugin that created the concommand or convar. + * @param pCommand Pointer to concommand or convar that is being removed. + */ + virtual void OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand) + { + } }; #define PL_EXPOSURE CreateInterface