1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/core/mm_api.cpp Sat Nov 04 19:27:20 2006 +0000
1.3 @@ -0,0 +1,73 @@
1.4 +#include <oslink.h>
1.5 +#include "mm_api.h"
1.6 +#include "sm_version.h"
1.7 +
1.8 +SourceMod g_SourceMod;
1.9 +
1.10 +PLUGIN_EXPOSE(SourceMod, g_SourceMod);
1.11 +
1.12 +bool SourceMod::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool late)
1.13 +{
1.14 + PLUGIN_SAVEVARS();
1.15 +
1.16 + return true;
1.17 +}
1.18 +
1.19 +bool SourceMod::Unload(char *error, size_t maxlen)
1.20 +{
1.21 + return true;
1.22 +}
1.23 +
1.24 +bool SourceMod::Pause(char *error, size_t maxlen)
1.25 +{
1.26 + return true;
1.27 +}
1.28 +
1.29 +bool SourceMod::Unpause(char *error, size_t maxlen)
1.30 +{
1.31 + return true;
1.32 +}
1.33 +
1.34 +void SourceMod::AllPluginsLoaded()
1.35 +{
1.36 +}
1.37 +
1.38 +const char *SourceMod::GetAuthor()
1.39 +{
1.40 + return "AlliedModders, LLC";
1.41 +}
1.42 +
1.43 +const char *SourceMod::GetName()
1.44 +{
1.45 + return "SourceMod";
1.46 +}
1.47 +
1.48 +const char *SourceMod::GetDescription()
1.49 +{
1.50 + return "Extensible administration and scripting system";
1.51 +}
1.52 +
1.53 +const char *SourceMod::GetURL()
1.54 +{
1.55 + return "http://www.sourcemod.net/";
1.56 +}
1.57 +
1.58 +const char *SourceMod::GetLicense()
1.59 +{
1.60 + return "See LICENSE.txt";
1.61 +}
1.62 +
1.63 +const char *SourceMod::GetVersion()
1.64 +{
1.65 + return SOURCEMOD_VERSION;
1.66 +}
1.67 +
1.68 +const char *SourceMod::GetDate()
1.69 +{
1.70 + return __DATE__;
1.71 +}
1.72 +
1.73 +const char *SourceMod::GetLogTag()
1.74 +{
1.75 + return "SRCMOD";
1.76 +}