mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add 'IsDedicated()' inline
This commit is contained in:
parent
d77dbdafb9
commit
840c6c869b
@ -28,6 +28,12 @@ inline auto v_SV_BroadcastVoiceData = p_SV_BroadcastVoiceData.RCast<void(__fastc
|
||||
|
||||
inline bool* s_bIsDedicated = nullptr;
|
||||
|
||||
// Returns true if this is a dedicated server.
|
||||
inline bool IsDedicated()
|
||||
{
|
||||
return *s_bIsDedicated;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void SV_InitGameDLL();
|
||||
|
Loading…
x
Reference in New Issue
Block a user