Crosstales.BWF.Provider.BadWordProvider Class Reference

Base class for bad word providers. More...

Inheritance diagram for Crosstales.BWF.Provider.BadWordProvider:
Crosstales.BWF.Provider.BaseProvider Crosstales.BWF.Provider.IProvider Crosstales.BWF.Provider.BadWordProviderText

Public Member Functions

override void Load ()
 Loads all sources. More...
 
- Public Member Functions inherited from Crosstales.BWF.Provider.BaseProvider
abstract void Save ()
 Saves all sources. More...
 
System.Collections.Generic.List< string > Verify (Crosstales.BWF.Data.Source source)
 Verify a source. More...
 

Protected Member Functions

override void init ()
 Initialize the provider. More...
 
- Protected Member Functions inherited from Crosstales.BWF.Provider.BaseProvider
void logNoResourcesAdded ()
 
void createSource ()
 

Protected Attributes

readonly System.Collections.Generic.List< Crosstales.BWF.Model.BadWords_badwords = new System.Collections.Generic.List<Crosstales.BWF.Model.BadWords>()
 
- Protected Attributes inherited from Crosstales.BWF.Provider.BaseProvider
readonly System.Collections.Generic.List< string > coRoutines = new System.Collections.Generic.List<string>()
 
bool _loading = false
 

Properties

System.Collections.Generic.Dictionary< string, System.Text.RegularExpressions.Regex > ExactBadwordsRegex [get, protected set]
 Exact RegEx for bad words. More...
 
System.Collections.Generic.Dictionary< string, System.Collections.Generic.List< System.Text.RegularExpressions.Regex > > DebugExactBadwordsRegex [get, protected set]
 Debug-version of "Exact RegEx for bad words". More...
 
System.Collections.Generic.Dictionary< string, System.Collections.Generic.List< string > > SimpleBadwords [get, protected set]
 Simplified version of "RegEx for bad words". More...
 
- Properties inherited from Crosstales.BWF.Provider.BaseProvider
int???? RegexCount [get]
 Number of Regex of this provider. More...
 
bool isReady [get, set]
 
- Properties inherited from Crosstales.BWF.Provider.IProvider
bool isReady [get, set]
 Checks the readiness status of the provider. More...
 

Additional Inherited Members

- Public Attributes inherited from Crosstales.BWF.Provider.BaseProvider
System.Text.RegularExpressions.RegexOptions RegexOption1 = System.Text.RegularExpressions.RegexOptions.IgnoreCase
 Option1 (default: RegexOptions.IgnoreCase). More...
 
System.Text.RegularExpressions.RegexOptions RegexOption2 = System.Text.RegularExpressions.RegexOptions.CultureInvariant
 Option2 (default: RegexOptions.CultureInvariant). More...
 
System.Text.RegularExpressions.RegexOptions RegexOption3 = System.Text.RegularExpressions.RegexOptions.None
 Option3 (default: RegexOptions.None). More...
 
System.Text.RegularExpressions.RegexOptions RegexOption4 = System.Text.RegularExpressions.RegexOptions.None
 Option4 (default: RegexOptions.None). More...
 
System.Text.RegularExpressions.RegexOptions RegexOption5 = System.Text.RegularExpressions.RegexOptions.None
 Option5 (default: RegexOptions.None). More...
 
System.Collections.Generic.List< Crosstales.BWF.Data.SourceSources
 All sources for this provider. More...
 
bool ClearOnLoad = true
 Clears all existing bad words on 'Load' (default: true). More...
 

Detailed Description

Base class for bad word providers.

Member Function Documentation

◆ init()

override void Crosstales.BWF.Provider.BadWordProvider.init ( )
protectedvirtual

Initialize the provider.

Implements Crosstales.BWF.Provider.BaseProvider.

◆ Load()

override void Crosstales.BWF.Provider.BadWordProvider.Load ( )
virtual

Property Documentation

◆ DebugExactBadwordsRegex

System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<System.Text.RegularExpressions.Regex> > Crosstales.BWF.Provider.BadWordProvider.DebugExactBadwordsRegex
getprotected set

Debug-version of "Exact RegEx for bad words".

◆ ExactBadwordsRegex

System.Collections.Generic.Dictionary<string, System.Text.RegularExpressions.Regex> Crosstales.BWF.Provider.BadWordProvider.ExactBadwordsRegex
getprotected set

Exact RegEx for bad words.

◆ SimpleBadwords

System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string> > Crosstales.BWF.Provider.BadWordProvider.SimpleBadwords
getprotected set

Simplified version of "RegEx for bad words".


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/BWFPro/BWFPro/Assets/Plugins/crosstales/BadWordFilter/Scripts/Provider/BadWordProvider.cs