Table of Contents

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

profanityList string[]
allowList string[]

Methods

CensorText(string)

public string CensorText(string text)

Parameters

text string

Returns

string

ContainsProfanity(string, ProfanityChechkerType)

public bool ContainsProfanity(string text, ProfanityChecker.ProfanityChechkerType checkType)

Parameters

text string
checkType ProfanityChecker.ProfanityChechkerType

Returns

bool

IsProfane(string)

public bool IsProfane(string word)

Parameters

word string

Returns

bool

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).