Class ProfanityChecker
- Namespace
- TaleWorlds.Library
- Assembly
- TaleWorlds.Library.dll
public class ProfanityChecker
- Inheritance
-
ProfanityChecker
- Inherited Members
Constructors
ProfanityChecker(string[], string[])
public ProfanityChecker(string[] profanityList, string[] allowList)
Parameters
Methods
CensorText(string)
public string CensorText(string text)
Parameters
textstring
Returns
ContainsProfanity(string, ProfanityChechkerType)
public bool ContainsProfanity(string text, ProfanityChecker.ProfanityChechkerType checkType)
Parameters
textstringcheckTypeProfanityChecker.ProfanityChechkerType
Returns
IsProfane(string)
public bool IsProfane(string word)
Parameters
wordstring
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).