mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Common: make IsEULAUpToDate globally accessible
Will be used for crash reporting as well.
This commit is contained in:
parent
7440e2d5da
commit
6de498e7ba
@ -135,6 +135,15 @@ extern ConVar* rui_defaultDebugFontFace;
|
||||
extern ConVar* miles_language;
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: checks if the accepted EULA is up to date.
|
||||
// Output : true on success, false on failure.
|
||||
//-----------------------------------------------------------------------------
|
||||
inline bool IsEULAUpToDate()
|
||||
{
|
||||
return (eula_version_accepted->GetInt() == eula_version->GetInt());
|
||||
}
|
||||
|
||||
void ConVar_InitShipped(void);
|
||||
void ConVar_PurgeShipped(void);
|
||||
void ConVar_PurgeHostNames(void);
|
||||
|
@ -351,15 +351,6 @@ bool CPylon::AuthForConnection(const uint64_t nucleusId, const char* ipAddress,
|
||||
return false;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: checks if the accepted EULA is up to date.
|
||||
// Output : true on success, false on failure.
|
||||
//-----------------------------------------------------------------------------
|
||||
static bool IsEULAUpToDate()
|
||||
{
|
||||
return (eula_version_accepted->GetInt() == eula_version->GetInt());
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Gets the EULA from master server.
|
||||
// Input : &outData -
|
||||
|
Loading…
x
Reference in New Issue
Block a user