|
SourceMod SDK
1.7
|
Factory for dealing with native invocations. More...
#include <public/INativeInvoker.h>
Public Member Functions | |
| virtual SourcePawn::IPluginRuntime * | CreateRuntime (const char *name, size_t bytes)=0 |
| Creates a virtual plugin. This can be used as an environment to invoke natives. More... | |
| virtual INativeInvoker * | CreateInvoker ()=0 |
| Creates an object that can be used to invoke a single native code. More... | |
Public Member Functions inherited from SourceMod::SMInterface | |
| virtual unsigned int | GetInterfaceVersion ()=0 |
| Must return an integer defining the interface's version. | |
| virtual const char * | GetInterfaceName ()=0 |
| Must return a string defining the interface's unique name. | |
| virtual bool | IsVersionCompatible (unsigned int version) |
| Must return whether the requested version number is backwards compatible. Note: This can be overridden for breaking changes or custom versioning. More... | |
Factory for dealing with native invocations.
|
pure virtual |
Creates an object that can be used to invoke a single native code.
|
pure virtual |
Creates a virtual plugin. This can be used as an environment to invoke natives.
IPluginRuntime objects must be freed with the delete operator.
| name | Name, or NULL for anonymous. |
| bytes | Number of bytes for memory (NINVOKE_DEFAULT_MEMORY recommended). |