SourceMod SDK  1.7
SourceMod::ITimedEvent Class Referenceabstract

Event callbacks for when a timer is executed. More...

#include <public/ITimerSystem.h>

Public Member Functions

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...
 

Detailed Description

Event callbacks for when a timer is executed.

Member Function Documentation

virtual ResultType SourceMod::ITimedEvent::OnTimer ( ITimer *  pTimer,
void *  pData 
)
pure virtual

Called when a timer is executed.

Parameters
pTimerPointer to the timer instance.
pDataPrivate 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
pTimerPointer to the timer instance.
pDataPrivate data pointer passed from host.

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