1.1 --- a/sourcemm/ISmmPlugin.h Tue Sep 18 20:03:47 2007 +0000
1.2 +++ b/sourcemm/ISmmPlugin.h Tue Sep 18 20:35:29 2007 +0000
1.3 @@ -20,7 +20,7 @@
1.4 #include <sourcehook/sourcehook.h>
1.5 #include "ISmmAPI.h"
1.6
1.7 -#define PLAPI_VERSION 10
1.8 +#define PLAPI_VERSION 12
1.9 #define PLAPI_NAME "ISmmPlugin"
1.10
1.11 class ISmmAPI;
1.12 @@ -316,6 +316,16 @@
1.13 virtual void OnVSPListening(IServerPluginCallbacks *iface)
1.14 {
1.15 }
1.16 +
1.17 + /* @brief Called when Metamod:Source is about to remove a concommand or convar.
1.18 + * This can also be called if ISmmAPI::UnregisterConCmdBase is used by a plugin.
1.19 + *
1.20 + * @param id Id of the plugin that created the concommand or convar.
1.21 + * @param pCommand Pointer to concommand or convar that is being removed.
1.22 + */
1.23 + virtual void OnUnlinkConCommandBase(PluginId id, ConCommandBase *pCommand)
1.24 + {
1.25 + }
1.26 };
1.27
1.28 #define PL_EXPOSURE CreateInterface