|
const string | COMMON_VERSION = "2024.1.1" |
| Version of the Common. More...
|
|
const int | COMMON_BUILD = 20240226 |
| Build number of the Common. More...
|
|
static readonly DateTime | COMMON_CHANGED = new DateTime(2024, 3, 15) |
| Change date of the Common (YYYY, MM, DD). More...
|
|
const string | ASSET_AUTHOR = "crosstales LLC" |
| Author of the asset. More...
|
|
const string | ASSET_AUTHOR_URL = "https://www.crosstales.com" |
| URL of the asset author. More...
|
|
const string | ASSET_CT_URL = "https://assetstore.unity.com/lists/crosstales-42213?aid=1011lNGT" |
| URL of the crosstales assets in UAS. More...
|
|
const string | ASSET_SOCIAL_DISCORD = "https://discord.gg/ZbZ2sh4" |
| URL of the crosstales Discord-channel. More...
|
|
const string | ASSET_SOCIAL_FACEBOOK = "https://www.facebook.com/crosstales/" |
| URL of the crosstales Facebook-profile. More...
|
|
const string | ASSET_SOCIAL_TWITTER = "https://twitter.com/crosstales" |
| URL of the crosstales Twitter-profile. More...
|
|
const string | ASSET_SOCIAL_YOUTUBE = "https://www.youtube.com/c/Crosstales" |
| URL of the crosstales Youtube-profile. More...
|
|
const string | ASSET_SOCIAL_LINKEDIN = "https://www.linkedin.com/company/crosstales" |
| URL of the crosstales LinkedIn-profile. More...
|
|
const string | ASSET_3P_PLAYMAKER = "https://assetstore.unity.com/packages/slug/368?aid=1011lNGT" |
| URL of the 3rd party asset "PlayMaker". More...
|
|
const string | ASSET_3P_VOLUMETRIC_AUDIO = "https://assetstore.unity.com/packages/slug/17125?aid=1011lNGT" |
| URL of the 3rd party asset "Volumetric Audio". More...
|
|
const string | ASSET_3P_ROCKTOMATE = "https://assetstore.unity.com/packages/slug/156311?aid=1011lNGT" |
| URL of the 3rd party asset "RockTomate". More...
|
|
const string | ASSET_3P_RTFB = "https://assetstore.unity.com/packages/slug/113006?aid=1011lNGT" |
| URL of the 3rd party asset "Runtime File Browser". More...
|
|
const string | ASSET_BWF = "https://assetstore.unity.com/packages/slug/26255?aid=1011lNGT" |
| URL of the "Badword Filter" asset. More...
|
|
const string | ASSET_DJ = "https://assetstore.unity.com/packages/slug/41993?aid=1011lNGT" |
| URL of the "DJ" asset. More...
|
|
const string | ASSET_FB = "https://assetstore.unity.com/packages/slug/98713?aid=1011lNGT" |
| URL of the "File Browser" asset. More...
|
|
const string | ASSET_OC = "https://assetstore.unity.com/packages/slug/74688?aid=1011lNGT" |
| URL of the "Online Check" asset. More...
|
|
const string | ASSET_RADIO = "https://assetstore.unity.com/packages/slug/32034?aid=1011lNGT" |
| URL of the "Radio" asset. More...
|
|
const string | ASSET_RTV = "https://assetstore.unity.com/packages/slug/41068?aid=1011lNGT" |
| URL of the "RT-Voice" asset. More...
|
|
const string | ASSET_TB = "https://assetstore.unity.com/packages/slug/98711?aid=1011lNGT" |
| URL of the "Turbo Backup" asset. More...
|
|
const string | ASSET_TPB = "https://assetstore.unity.com/packages/slug/98714?aid=1011lNGT" |
| URL of the "Turbo Builder" asset. More...
|
|
const string | ASSET_TPS = "https://assetstore.unity.com/packages/slug/60040?aid=1011lNGT" |
| URL of the "Turbo Switch" asset. More...
|
|
const string | ASSET_TR = "https://assetstore.unity.com/packages/slug/61617?aid=1011lNGT" |
| URL of the "True Random" asset. More...
|
|
const int | FACTOR_KB = 1024 |
| Factor for kilo bytes. More...
|
|
const int | FACTOR_MB = FACTOR_KB * 1024 |
| Factor for mega bytes. More...
|
|
const int | FACTOR_GB = FACTOR_MB * 1024 |
| Factor for giga bytes. More...
|
|
const float | FLOAT_32768 = 32768f |
| Float value of 32768. More...
|
|
const float | FLOAT_TOLERANCE = 0.0001f |
| Float tolerance. More...
|
|
const string | FORMAT_TWO_DECIMAL_PLACES = "0.00" |
| ToString for two decimal places. More...
|
|
const string | FORMAT_NO_DECIMAL_PLACES = "0" |
| ToString for no decimal places. More...
|
|
const string | FORMAT_PERCENT = "0%" |
| ToString for percent. More...
|
|
const bool | DEFAULT_DEBUG = false |
|
const string | PATH_DELIMITER_WINDOWS = @"\" |
| Path delimiter for Windows. More...
|
|
const string | PATH_DELIMITER_UNIX = "/" |
| Path delimiter for Unix. More...
|
|
static System.Text.RegularExpressions.Regex | REGEX_LINEENDINGS => _regexLineEndings ?? (_regexLineEndings = new System.Text.RegularExpressions.Regex(@"[\u000A\u000B\u000C\u000D\u2028\u2029\u0085]+")) |
|
static System.Text.RegularExpressions.Regex | REGEX_EMAIL => _regexEmail ?? (_regexEmail = new System.Text.RegularExpressions.Regex(@"^(?("")("".+?""@)|(([0-9a-zA-Z]((\.(?!\.))|[-!#\$%&'\*\+/=\?\^`\{\}\|~\w])*)(?<=[0-9a-zA-Z])@))(?(\[)(\[(\d{1,3}\.){3}\d{1,3}\])|(([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,6}))$")) |
|
static System.Text.RegularExpressions.Regex | REGEX_CREDITCARD => _regexCreditCard ?? (_regexCreditCard = new System.Text.RegularExpressions.Regex(@"^((\d{4}[- ]?){3}\d{4})$")) |
|
static System.Text.RegularExpressions.Regex | REGEX_URL_WEB => _regexUrlWeb ?? (_regexUrlWeb = new System.Text.RegularExpressions.Regex(@"^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\'\/\\\+&%\$#_]*)?$")) |
|
static System.Text.RegularExpressions.Regex | REGEX_IP_ADDRESS => _regexIPAddress ?? (_regexIPAddress = new System.Text.RegularExpressions.Regex(@"^([0-9]{1,3}\.){3}[0-9]{1,3}$")) |
|
static System.Text.RegularExpressions.Regex | REGEX_INVALID_CHARS => _regexInvalidChars ?? (_regexInvalidChars = new System.Text.RegularExpressions.Regex(@"[^\w\.@-]")) |
|
static System.Text.RegularExpressions.Regex | REGEX_ALPHANUMERIC => _regexAlpha ?? (_regexAlpha = new System.Text.RegularExpressions.Regex(@"([A-Za-z0-9_]+)")) |
|
static System.Text.RegularExpressions.Regex | REGEX_CLEAN_SPACES => _regexCleanSpace ?? (_regexCleanSpace = new System.Text.RegularExpressions.Regex(@"\s+")) |
|
static System.Text.RegularExpressions.Regex | REGEX_CLEAN_TAGS => _regexCleanTags ?? (_regexCleanTags = new System.Text.RegularExpressions.Regex(@"<.*?>")) |
|
static System.Text.RegularExpressions.Regex | REGEX_DRIVE_LETTERS => _regexDriveLetters ?? (_regexDriveLetters = new System.Text.RegularExpressions.Regex(@"^[a-zA-Z]:")) |
|
static System.Text.RegularExpressions.Regex | REGEX_FILE => _regexFile ?? (_regexFile = new System.Text.RegularExpressions.Regex(@"^.*\.[\w]+$")) |
|
const string | ALPHABET_LATIN_UPPERCASE = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" |
|
const string | ALPHABET_LATIN_LOWERCASE = "abcdefghijklmnopqrstuvwxyz" |
|
const string | ALPHABET_EXT_UPPERCASE = "ÀÂÄÆÇÈÉÊËÎÏÔŒÙÛÜ" |
|
const string | ALPHABET_EXT_LOWERCASE = "àâäæçèéêëîïôœùûü" |
|
static readonly string | ALPHABET_LATIN = $"{ALPHABET_LATIN_UPPERCASE}{ALPHABET_EXT_UPPERCASE}{ALPHABET_LATIN_LOWERCASE}{ALPHABET_EXT_LOWERCASE}" |
|
const string | NUMBERS = "0123456789" |
|
static readonly string | SIGNS = $"{ALPHABET_LATIN}{NUMBERS}" |
|
static bool | DEV_DEBUG = false |
| Development debug logging for the asset. More...
|
|
static string | TEXT_TOSTRING_START = " {" |
|
static string | TEXT_TOSTRING_END = "}" |
|
static string | TEXT_TOSTRING_DELIMITER = "', " |
|
static string | TEXT_TOSTRING_DELIMITER_END = "'" |
|
const string | PREFIX_HTTP = "http://" |
|
const string | PREFIX_HTTPS = "https://" |
|
static int | PROCESS_KILL_TIME = 5000 |
| Kill processes after 5000 milliseconds. More...
|
|
static string | CMD_WINDOWS_PATH = @"C:\Windows\system32\cmd.exe" |
| Path to the cmd under Windows. More...
|
|
static bool | SHOW_BWF_BANNER = true |
| Show the BWF banner. More...
|
|
static bool | SHOW_DJ_BANNER = true |
| Show the DJ banner. More...
|
|
static bool | SHOW_FB_BANNER = true |
| Show the FB banner. More...
|
|
static bool | SHOW_OC_BANNER = true |
| Show the OC banner. More...
|
|
static bool | SHOW_RADIO_BANNER = true |
| Show the Radio banner. More...
|
|
static bool | SHOW_RTV_BANNER = true |
| Show the RTV banner. More...
|
|
static bool | SHOW_TB_BANNER = true |
| Show the TB banner. More...
|
|
static bool | SHOW_TPB_BANNER = true |
| Show the TPB banner. More...
|
|
static bool | SHOW_TPS_BANNER = true |
| Show the TPS banner. More...
|
|
static bool | SHOW_TR_BANNER = true |
| Show the TR banner. More...
|
|
static string | APPLICATION_PATH => Crosstales.Common.Util.FileHelper.ValidatePath(Application.dataPath.Substring(0, Application.dataPath.LastIndexOf('/') + 1)) |
| Application path. More...
|
|
Base for collected constants of very general utility for the asset.