Merge
This commit is contained in:
commit
264e42a4c5
@ -441,11 +441,6 @@ public:
|
|||||||
{
|
{
|
||||||
return iserver;
|
return iserver;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual IGameRules *GetGameRules()
|
|
||||||
{
|
|
||||||
return (IGameRules*)g_pGameRules;
|
|
||||||
}
|
|
||||||
} g_SDKTools_API;
|
} g_SDKTools_API;
|
||||||
|
|
||||||
static void InitSDKToolsAPI()
|
static void InitSDKToolsAPI()
|
||||||
|
@ -35,10 +35,9 @@
|
|||||||
#include <IShareSys.h>
|
#include <IShareSys.h>
|
||||||
|
|
||||||
#define SMINTERFACE_SDKTOOLS_NAME "ISDKTools"
|
#define SMINTERFACE_SDKTOOLS_NAME "ISDKTools"
|
||||||
#define SMINTERFACE_SDKTOOLS_VERSION 2
|
#define SMINTERFACE_SDKTOOLS_VERSION 1
|
||||||
|
|
||||||
class IServer;
|
class IServer;
|
||||||
class IGameRules;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief SDKTools shared API
|
* @brief SDKTools shared API
|
||||||
@ -62,13 +61,6 @@ namespace SourceMod
|
|||||||
* @return IServer pointer, or NULL if SDKTools was unable to find one.
|
* @return IServer pointer, or NULL if SDKTools was unable to find one.
|
||||||
*/
|
*/
|
||||||
virtual IServer* GetIServer() = 0;
|
virtual IServer* GetIServer() = 0;
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Returns a pointer to GameRules if one was found.
|
|
||||||
*
|
|
||||||
* @return GameRules pointer, or NULL if SDKTools was unable to find one.
|
|
||||||
*/
|
|
||||||
virtual IGameRules* GetGameRules() = 0;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user