mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
* IVEngineServer::PersistenceAvailable() only sets the persistence var in the CClient struct when 'g_bIsPersistenceVarSet[clientidx]' is false. It sets it to true when a client connects and the var has been set. The var gets reset on any disconnection, and 'g_bIsPersistenceVarSet[clientidx]' gets set to false by CBaseClient::Clear() * current Origin globals are already cross season compatible.
27 lines
686 B
C++
27 lines
686 B
C++
#include "core/stdafx.h"
|
|
#include "ebisusdk/EbisuSDK.h"
|
|
#include "client/client.h"
|
|
#include "engine/sys_utils.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose: sets the EbisuSDK globals for dedicated to satisfy command callbacks
|
|
//-----------------------------------------------------------------------------
|
|
void HEbisuSDK_Init()
|
|
{
|
|
#ifdef DEDICATED
|
|
*(char*)g_bEbisuSDKInitialized = (char)0x1; // <- 1st EbisuSDK
|
|
*(char*)g_bEbisuSDKCvarInitialized = (char)0x1; // <- 2nd EbisuSDK
|
|
*(char*)g_qEbisuSDKCvarInitialized = (char)0x1; // <- 3rd EbisuSDK
|
|
#endif // DEDICATED
|
|
}
|
|
|
|
void EbisuSDK_Attach()
|
|
{
|
|
//
|
|
}
|
|
|
|
void EbisuSDK_Detach()
|
|
{
|
|
//
|
|
}
|