Crosstales.BWF.Data.Source Class Reference

Data definition of a source. More...

Inheritance diagram for Crosstales.BWF.Data.Source:

Public Member Functions

override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Public Attributes

int RegexCount => Regexes?.Length ?? 0
 Total Regex count. More...
 

Properties

string SourceName [get, set]
 Name of the source. More...
 
string Culture [get, set]
 Culture of the source (ISO 639-1). More...
 
string Description [get, set]
 Description for the source (optional). More...
 
Sprite Icon [get, set]
 Icon to represent the source (e.g. country flag, optional) More...
 
string URL [get, set]
 URL of a text file containing all regular expressions for this source. Add also the protocol-type ('http://', 'file://' etc.). More...
 
TextAsset Resource [get, set]
 Text file containing all regular expressions for this source. More...
 
bool IsResourceFallback [get, set]
 Indicates if the 'Resource' is used as fallback in case the URL could not be loaded. More...
 
string[] Regexes [get, set]
 All Regexes of the source. More...
 

Detailed Description

Data definition of a source.

Member Data Documentation

◆ RegexCount

int Crosstales.BWF.Data.Source.RegexCount => Regexes?.Length ?? 0

Total Regex count.

Property Documentation

◆ Culture

string Crosstales.BWF.Data.Source.Culture
getset

Culture of the source (ISO 639-1).

◆ Description

string Crosstales.BWF.Data.Source.Description
getset

Description for the source (optional).

◆ Icon

Sprite Crosstales.BWF.Data.Source.Icon
getset

Icon to represent the source (e.g. country flag, optional)

◆ IsResourceFallback

bool Crosstales.BWF.Data.Source.IsResourceFallback
getset

Indicates if the 'Resource' is used as fallback in case the URL could not be loaded.

◆ Regexes

string [] Crosstales.BWF.Data.Source.Regexes
getset

All Regexes of the source.

◆ Resource

TextAsset Crosstales.BWF.Data.Source.Resource
getset

Text file containing all regular expressions for this source.

◆ SourceName

string Crosstales.BWF.Data.Source.SourceName
getset

Name of the source.

◆ URL

string Crosstales.BWF.Data.Source.URL
getset

URL of a text file containing all regular expressions for this source. Add also the protocol-type ('http://', 'file://' etc.).


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