Updated some CS:GO gamedata.
1 #ifndef _INCLUDE_SOURCEPAWN_ENGINE_2_H_
2 #define _INCLUDE_SOURCEPAWN_ENGINE_2_H_
9 * @brief Outlines the interface a Virtual Machine (JIT) must expose
11 class SourcePawnEngine2 : public ISourcePawnEngine2
16 unsigned int GetAPIVersion();
17 const char *GetEngineName();
18 const char *GetVersionString();
19 IPluginRuntime *LoadPlugin(ICompilation *co, const char *file, int *err);
20 SPVM_NATIVE_FUNC CreateFakeNative(SPVM_FAKENATIVE_FUNC callback, void *pData);
21 void DestroyFakeNative(SPVM_NATIVE_FUNC func);
22 IDebugListener *SetDebugListener(IDebugListener *listener);
23 void SetProfiler(IProfiler *profiler);
24 ICompilation *StartCompilation();
25 const char *GetErrorString(int err);
28 IPluginRuntime *CreateEmptyRuntime(const char *name, uint32_t memory);
30 IProfiler *GetProfiler();
32 IProfiler *m_Profiler;
36 extern SourcePawn::SourcePawnEngine2 g_engine2;
38 #endif //_INCLUDE_SOURCEPAWN_ENGINE_2_H_