SourceMod SDK  1.7
SourceMod::INativeInvoker Class Referenceabstract
Inheritance diagram for SourceMod::INativeInvoker:

Public Member Functions

virtual ~INativeInvoker ()
 Virtual destructor - use delete to free this.
 
virtual bool Start (SourcePawn::IPluginContext *pContext, const char *name)=0
 Begins a native call. More...
 
virtual int Invoke (cell_t *result)=0
 Invokes the native. The preparation state is cleared immediately, meaning that this object can be re-used after or even from inside the native being called. More...
 

Member Function Documentation

virtual int SourceMod::INativeInvoker::Invoke ( cell_t *  result)
pure virtual

Invokes the native. The preparation state is cleared immediately, meaning that this object can be re-used after or even from inside the native being called.

Parameters
resultOptional pointer to retrieve a result.
Returns
SP_ERROR return code.
virtual bool SourceMod::INativeInvoker::Start ( SourcePawn::IPluginContext *  pContext,
const char *  name 
)
pure virtual

Begins a native call.

During a call's preparation, no new calls may be started.

Parameters
pContextContext to invoke native under.
nameName of native.
Returns
True if native was found, false otherwise.

The documentation for this class was generated from the following file: