public/extensions/ISDKTools.h
changeset 3157 a998690a87e4
parent 3155 faf3e4ffabd9
     1.1 --- a/public/extensions/ISDKTools.h	Fri Nov 19 15:52:41 2010 -0500
     1.2 +++ b/public/extensions/ISDKTools.h	Fri Nov 19 23:02:27 2010 -0500
     1.3 @@ -35,7 +35,7 @@
     1.4  #include <IShareSys.h>
     1.5  
     1.6  #define SMINTERFACE_SDKTOOLS_NAME		"ISDKTools"
     1.7 -#define SMINTERFACE_SDKTOOLS_VERSION	1
     1.8 +#define SMINTERFACE_SDKTOOLS_VERSION	2
     1.9  
    1.10  class IServer;
    1.11  
    1.12 @@ -61,6 +61,13 @@
    1.13  		 * @return			IServer pointer, or NULL if SDKTools was unable to find one.
    1.14  		 */
    1.15  		virtual IServer* GetIServer() = 0;
    1.16 +		
    1.17 +		/**
    1.18 +		 * @brief Returns a pointer to game's CGameRules class.
    1.19 +		 *
    1.20 +		 * @return			CGameRules pointer or NULL if not found.
    1.21 +		 */
    1.22 +		virtual void* GetGameRules() = 0;
    1.23  	};
    1.24  }
    1.25