Fixed build for real.
3 * ======================================================
4 * Metamod:Source Stub Plugin
5 * Written by AlliedModders LLC.
6 * ======================================================
8 * This software is provided 'as-is', without any express or implied warranty.
9 * In no event will the authors be held liable for any damages arising from
10 * the use of this software.
12 * This stub plugin is public domain.
17 #ifndef _INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
18 #define _INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_
20 #include <ISmmPlugin.h>
24 public IMetamodListener
27 bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
28 bool Unload(char *error, size_t maxlen);
29 bool Pause(char *error, size_t maxlen);
30 bool Unpause(char *error, size_t maxlen);
31 void AllPluginsLoaded();
32 const char *GetAuthor();
33 const char *GetName();
34 const char *GetDescription();
36 const char *GetLicense();
37 const char *GetVersion();
38 const char *GetDate();
39 const char *GetLogTag();
40 public: //IMetamodListener
41 void *OnMetamodQuery(const char *iface, int *ret);
43 void BindToSourcemod();
46 void Hook_ServerActivate(edict_t *pEdictList, int edictCount, int clientMax);
48 extern StubPlugin g_StubPlugin;
49 extern ISmmPlugin *mmsplugin;
53 #endif //_INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_