diff options
author | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-08-16 01:12:59 +0100 |
---|---|---|
committer | BobTheBob9 <for.oliver.kirkham@gmail.com> | 2022-08-16 01:12:59 +0100 |
commit | 082f3893215797268d7ac8c1000ebe371f276af7 (patch) | |
tree | b5cc677a49635a9244559e235d4915c064c9f6c4 /NorthstarDLL/bansystem.h | |
parent | b30a385fc25dad05e568ae8538f5aa3656c5c8d4 (diff) | |
download | NorthstarLauncher-082f3893215797268d7ac8c1000ebe371f276af7.tar.gz NorthstarLauncher-082f3893215797268d7ac8c1000ebe371f276af7.zip |
lots of stuff idk
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; |