Initial commit: client source

This commit is contained in:
Andreas Lierschaft
2026-08-17 20:03:02 +02:00
commit 9ae37cd0ea
869 changed files with 227899 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
class CInsultChecker
{
public:
CInsultChecker& GetSingleton();
public:
CInsultChecker();
virtual ~CInsultChecker();
void Clear();
void AppendInsult(const std::string& c_rstInsult);
bool IsInsultIn(const char* c_szLine, UINT uLineLen);
void FilterInsult(char* szLine, UINT uLineLen);
private:
bool __GetInsultLength(const char* c_szWord, UINT* puInsultLen);
bool __IsInsult(const char* c_szWord);
private:
std::list<std::string> m_kList_stInsult;
};