From f5ab6fb5e8be7b73e6003d4145081d5e0c0ce287 Mon Sep 17 00:00:00 2001 From: Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> Date: Wed, 27 Dec 2023 00:32:01 +0000 Subject: Folder restructuring from primedev (#624) Copies of over the primedev folder structure for easier cherry-picking of further changes Co-authored-by: F1F7Y --- NorthstarDLL/core/vanilla.h | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 NorthstarDLL/core/vanilla.h (limited to 'NorthstarDLL/core/vanilla.h') diff --git a/NorthstarDLL/core/vanilla.h b/NorthstarDLL/core/vanilla.h deleted file mode 100644 index b0797803..00000000 --- a/NorthstarDLL/core/vanilla.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -/// Determines if we are in vanilla-compatibility mode. -/// In this mode we shouldn't auth with Atlas, which prevents users from joining a -/// non-trusted server. This means that we can unrestrict client/server commands -/// as well as various other small changes for compatibility -class VanillaCompatibility -{ -public: - void SetVanillaCompatibility(bool isVanilla) - { - static bool bInitialised = false; - if (bInitialised) - return; - - bInitialised = true; - m_bIsVanillaCompatible = isVanilla; - } - - bool GetVanillaCompatibility() - { - return m_bIsVanillaCompatible; - } - -private: - bool m_bIsVanillaCompatible = false; -}; - -inline VanillaCompatibility* g_pVanillaCompatibility; -- cgit v1.2.3