public/ITimerSystem.h
changeset 2989 e8b0605226ce
parent 2289 44045ead61cd
     1.1 --- a/public/ITimerSystem.h	Wed May 12 04:13:56 2010 -0500
     1.2 +++ b/public/ITimerSystem.h	Thu May 13 01:47:12 2010 -0700
     1.3 @@ -42,7 +42,7 @@
     1.4  #include <IForwardSys.h>
     1.5  
     1.6  #define SMINTERFACE_TIMERSYS_NAME		"ITimerSys"
     1.7 -#define SMINTERFACE_TIMERSYS_VERSION	3
     1.8 +#define SMINTERFACE_TIMERSYS_VERSION	4
     1.9  
    1.10  namespace SourceMod
    1.11  {
    1.12 @@ -203,6 +203,13 @@
    1.13  		 * @return					True on success, false if no support.
    1.14  		 */
    1.15  		virtual bool GetMapTimeLeft(float *pTime) =0;
    1.16 +
    1.17 +		/**
    1.18 +		 * @brief Returns the interface for dealing with map time limits.
    1.19 +		 *
    1.20 +		 * @return					Map timer interface.
    1.21 +		 */
    1.22 +		virtual IMapTimer *GetMapTimer() = 0;
    1.23  	};
    1.24  }
    1.25