diff options
Diffstat (limited to 'NorthstarDLL/bansystem.h')
-rw-r--r-- | NorthstarDLL/bansystem.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/NorthstarDLL/bansystem.h b/NorthstarDLL/bansystem.h index ccae7de2..fd38c04e 100644 --- a/NorthstarDLL/bansystem.h +++ b/NorthstarDLL/bansystem.h @@ -1,18 +1,18 @@ -#pragma once
-#include <fstream>
-
-class ServerBanSystem
-{
- private:
- std::ofstream m_sBanlistStream;
- std::vector<uint64_t> m_vBannedUids;
-
- public:
- void OpenBanlist();
- void ClearBanlist();
- void BanUID(uint64_t uid);
- void UnbanUID(uint64_t uid);
- bool IsUIDAllowed(uint64_t uid);
-};
-
-extern ServerBanSystem* g_pBanSystem;
+#pragma once +#include <fstream> + +class ServerBanSystem +{ + private: + std::ofstream m_sBanlistStream; + std::vector<uint64_t> m_vBannedUids; + + public: + void OpenBanlist(); + void ClearBanlist(); + void BanUID(uint64_t uid); + void UnbanUID(uint64_t uid); + bool IsUIDAllowed(uint64_t uid); +}; + +extern ServerBanSystem* g_pBanSystem; |