Interface for map timers.
More...
#include <public/ITimerSystem.h>
Interface for map timers.
virtual void SourceMod::IMapTimer::ExtendMapTimeLimit |
( |
int |
extra_time | ) |
|
|
pure virtual |
Extends the map limit (either positively or negatively) in seconds.
- Parameters
-
extra_time | Time to extend map by. If 0, the map will be set to have no time limit. |
virtual int SourceMod::IMapTimer::GetMapTimeLimit |
( |
| ) |
|
|
pure virtual |
Returns the current map time limit in seconds.
- Returns
- Time limit, in seconds, or 0 if there is no limit.
virtual void SourceMod::IMapTimer::SetMapTimerStatus |
( |
bool |
enabled | ) |
|
|
pure virtual |
Tells the map timer whether it is being used or not.
Map timers are automatically enabled when they are set, and automatically disabled if being un-set.
- Parameters
-
enabled | True if enabling, false if disabling. |
The documentation for this class was generated from the following file: