1.1 --- a/sourcemm/sample_mm/SamplePlugin.h Fri Oct 21 07:18:53 2005 +0000
1.2 +++ b/sourcemm/sample_mm/SamplePlugin.h Fri Oct 21 07:22:37 2005 +0000
1.3 @@ -17,7 +17,7 @@
1.4
1.5 #define SAMPLE_VERSION "1.10"
1.6
1.7 -class SamplePlugin : public ISmmPlugin
1.8 +class SamplePlugin : public ISmmPlugin, public IMetamodListener
1.9 {
1.10 public:
1.11 bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
1.12 @@ -107,6 +107,9 @@
1.13 // You can still supercede the gamedll through RETURN_META(MRES_SUPERCEDE).
1.14 void ClientCommand(edict_t *pEntity);
1.15
1.16 + //From IMetamodListener
1.17 + virtual void OnLevelShutdown();
1.18 +
1.19 private:
1.20 IGameEventManager2 *m_GameEventManager;
1.21 IVEngineServer *m_Engine;