SourceMod::ITimedEvent Class Reference

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

#include <public/ITimerSystem.h>

List of all members.

Public Member Functions

virtual ResultType OnTimer (ITimer *pTimer, void *pData)=0
 Called when a timer is executed.
virtual void OnTimerEnd (ITimer *pTimer, void *pData)=0
 Called when the timer has been killed.


Detailed Description

Event callbacks for when a timer is executed.

Definition at line 87 of file ITimerSystem.h.


Member Function Documentation

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:
Generated on Fri Nov 21 06:10:04 2008 for SourceMod SDK by  doxygen 1.5.1