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>
22 #if defined WIN32 && !defined snprintf
23 #define snprintf _snprintf
26 class StubPlugin : public ISmmPlugin
29 bool Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late);
30 bool Unload(char *error, size_t maxlen);
31 bool Pause(char *error, size_t maxlen);
32 bool Unpause(char *error, size_t maxlen);
33 void AllPluginsLoaded();
35 const char *GetAuthor();
36 const char *GetName();
37 const char *GetDescription();
39 const char *GetLicense();
40 const char *GetVersion();
41 const char *GetDate();
42 const char *GetLogTag();
45 void Hook_ServerActivate(edict_t *pEdictList, int edictCount, int clientMax);
47 extern StubPlugin g_StubPlugin;
51 #endif //_INCLUDE_METAMOD_SOURCE_STUB_PLUGIN_H_