#include <public/IForwardSys.h>
Inherits SourcePawn::ICallable.
Inherited by SourceMod::IChangeableForward.
Inheritance diagram for SourceMod::IForward:
Public Member Functions | |
| virtual | ~IForward () |
| virtual const char * | GetForwardName ()=0 |
| Returns the name of the forward. | |
| virtual unsigned int | GetFunctionCount ()=0 |
| Returns the number of functions in this forward. | |
| virtual ExecType | GetExecType ()=0 |
| Returns the method of multi-calling this forward has. | |
| virtual int | Execute (cell_t *result, IForwardFilter *filter=NULL)=0 |
| Executes the forward. | |
| virtual int | PushArray (cell_t *inarray, unsigned int cells, int flags=0)=0 |
| Pushes an array of cells onto the current call. Different rules than ICallable. NOTE: On Execute, the pointer passed will be modified according to the copyback rule. | |
Parameters should be pushed in forward order, unlike the virtual machine/IPluginContext order. Some functions are repeated in here because their documentation differs from their IPluginFunction equivalents. Missing are the Push functions, whose only doc change is that they throw SP_ERROR_PARAM on type mismatches.
Definition at line 95 of file IForwardSys.h.
| virtual SourceMod::IForward::~IForward | ( | ) | [inline, virtual] |
Virtual Destructor
Definition at line 99 of file IForwardSys.h.
| virtual const char* SourceMod::IForward::GetForwardName | ( | ) | [pure virtual] |
Returns the name of the forward.
| virtual unsigned int SourceMod::IForward::GetFunctionCount | ( | ) | [pure virtual] |
Returns the number of functions in this forward.
| virtual ExecType SourceMod::IForward::GetExecType | ( | ) | [pure virtual] |
Returns the method of multi-calling this forward has.
| virtual int SourceMod::IForward::Execute | ( | cell_t * | result, | |
| IForwardFilter * | filter = NULL | |||
| ) | [pure virtual] |
Executes the forward.
| result | Optional pointer to store result in. | |
| filter | Do not use. |
| virtual int SourceMod::IForward::PushArray | ( | cell_t * | inarray, | |
| unsigned int | cells, | |||
| int | flags = 0 | |||
| ) | [pure virtual] |
Pushes an array of cells onto the current call. Different rules than ICallable. NOTE: On Execute, the pointer passed will be modified according to the copyback rule.
| inarray | Array to copy. Cannot be NULL, unlike ICallable's version. | |
| cells | Number of cells to allocate and optionally read from the input array. | |
| flags | Whether or not changes should be copied back to the input array. |
Implements SourcePawn::ICallable.
1.5.1