Event callbacks for when a timer is executed.
More...
#include <public/ITimerSystem.h>
|
virtual ResultType | OnTimer (ITimer *pTimer, void *pData)=0 |
| Called when a timer is executed. More...
|
|
virtual void | OnTimerEnd (ITimer *pTimer, void *pData)=0 |
| Called when the timer has been killed. More...
|
|
Event callbacks for when a timer is executed.
virtual ResultType SourceMod::ITimedEvent::OnTimer |
( |
ITimer * |
pTimer, |
|
|
void * |
pData |
|
) |
| |
|
pure virtual |
Called when a timer is executed.
- Parameters
-
pTimer | Pointer to the timer instance. |
pData | Private pointer passed from host. |
- Returns
- Pl_Stop to stop timer, Pl_Continue to continue.
virtual void SourceMod::ITimedEvent::OnTimerEnd |
( |
ITimer * |
pTimer, |
|
|
void * |
pData |
|
) |
| |
|
pure virtual |
Called when the timer has been killed.
- Parameters
-
pTimer | Pointer to the timer instance. |
pData | Private data pointer passed from host. |
The documentation for this class was generated from the following file: