sourcemod/core/sm_srvcmds.h
Borja Ferrer c9002c2011 Added initial console commands for plugins
fixed crash in plugin destructor
fixed compilation not being freed causing a crash
fixed small issues in plugin system
fixed plugin iterator not being reseted when freed and not being initialized it's current pointer.
fixed a bug where insertion of a prefixed string would not check whether a value could be set.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40221
2006-12-16 02:16:21 +00:00

16 lines
388 B
C++

#include "sourcemm_api.h"
#include <convar.h>
#include "sourcemod.h"
#include "PluginSys.h"
using namespace SourceMod;
class ConVarAccessor :
public IConCommandBaseAccessor,
public SMGlobalClass
{
public: // IConCommandBaseAccessor
virtual bool RegisterConCommandBase(ConCommandBase *pCommand);
public: // SMGlobalClass
virtual void OnSourceModStartup(bool late);
};