mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
32 lines
979 B
C
32 lines
979 B
C
|
//=============================================================================//
|
||
|
//
|
||
|
// Purpose: Interface server dll virtual functions to the SDK.
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
class CServerGameDLL
|
||
|
{
|
||
|
public:
|
||
|
void GameInit(void);
|
||
|
void PrecompileScriptsJob(void);
|
||
|
void LevelShutdown(void);
|
||
|
void GameShutdown(void);
|
||
|
float GetTickInterval(void);
|
||
|
};
|
||
|
|
||
|
extern CServerGameDLL* g_pServerGameDLL;
|
||
|
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
class HServerGameDLL : public IDetour
|
||
|
{
|
||
|
virtual void debugp()
|
||
|
{
|
||
|
std::cout << "| VAR: g_pServerGameDLL : 0x" << std::hex << std::uppercase << g_pServerGameDLL << std::setw(0) << " |" << std::endl;
|
||
|
std::cout << "+----------------------------------------------------------------+" << std::endl;
|
||
|
}
|
||
|
};
|
||
|
///////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
REGISTER(HServerGameDLL);
|