Port 2V0 UI Python bindings and app module link surface

This commit is contained in:
shen
2026-09-22 19:57:35 -07:00
parent a0ad587f78
commit b221a9eaf5
74 changed files with 18320 additions and 9 deletions
@@ -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;
};