exposed the sourcepawn and JIT interfaces with pointers
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40739
This commit is contained in:
@@ -630,6 +630,16 @@ const char *SourceModBase::GetGameFolderName() const
|
||||
return m_ModDir;
|
||||
}
|
||||
|
||||
ISourcePawnEngine *SourceModBase::GetScriptingEngine()
|
||||
{
|
||||
return g_pSourcePawn;
|
||||
}
|
||||
|
||||
IVirtualMachine *SourceModBase::GetScriptingVM()
|
||||
{
|
||||
return g_pVM;
|
||||
}
|
||||
|
||||
SMGlobalClass *SMGlobalClass::head = NULL;
|
||||
|
||||
SMGlobalClass::SMGlobalClass()
|
||||
|
||||
@@ -95,6 +95,8 @@ public: // ISourceMod
|
||||
HandleType_t GetDataPackHandleType(bool readonly=false);
|
||||
KeyValues *ReadKeyValuesHandle(Handle_t hndl, HandleError *err=NULL, bool root=false);
|
||||
const char *GetGameFolderName() const;
|
||||
ISourcePawnEngine *GetScriptingEngine();
|
||||
IVirtualMachine *GetScriptingVM();
|
||||
private:
|
||||
/**
|
||||
* @brief Loading plugins
|
||||
|
||||
Reference in New Issue
Block a user