M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Library.ProfanityChecker Class Reference

Public Types

enum  ProfanityChechkerType
 

Public Member Functions

 ProfanityChecker (string[] profanityList, string[] allowList)
 
bool IsProfane (string word)
 
bool ContainsProfanity (string text, ProfanityChechkerType checkType)
 
string CensorText (string text)
 

Member Enumeration Documentation

◆ ProfanityChechkerType

Constructor & Destructor Documentation

◆ ProfanityChecker()

TaleWorlds.Library.ProfanityChecker.ProfanityChecker ( string[]  profanityList,
string[]  allowList 
)

Member Function Documentation

◆ IsProfane()

bool TaleWorlds.Library.ProfanityChecker.IsProfane ( string  word)

◆ ContainsProfanity()

bool TaleWorlds.Library.ProfanityChecker.ContainsProfanity ( string  text,
ProfanityChechkerType  checkType 
)

◆ CensorText()

string TaleWorlds.Library.ProfanityChecker.CensorText ( string  text)