Crosstales.OnlineCheck.Util.Constants Class Reference

Collected constants of very general utility for the asset. More...

Inheritance diagram for Crosstales.OnlineCheck.Util.Constants:
Crosstales.Common.Util.BaseConstants

Static Public Attributes

const string ASSET_NAME = "Online Check PRO"
 Name of the asset. More...
 
const string ASSET_NAME_SHORT = "OC PRO"
 Short name of the asset. More...
 
const string ASSET_VERSION = "2024.1.1"
 Version of the asset. More...
 
const int ASSET_BUILD = 20240315
 Build number of the asset. More...
 
static readonly System.DateTime ASSET_CREATED = new System.DateTime(2017, 5, 4)
 Create date of the asset (YYYY, MM, DD). More...
 
static readonly System.DateTime ASSET_CHANGED = new System.DateTime(2024, 3, 15)
 Change date of the asset (YYYY, MM, DD). More...
 
const string ASSET_PRO_URL = "https://assetstore.unity.com/packages/slug/74688?aid=1011lNGT"
 URL of the PRO asset in UAS. More...
 
const string ASSET_UPDATE_CHECK_URL = "https://www.crosstales.com/media/assets/onlinecheck_versions.txt"
 URL for update-checks of the asset More...
 
const string ASSET_CONTACT = "onlinecheck@crosstales.com"
 Contact to the owner of the asset. More...
 
const string ASSET_MANUAL_URL = "https://www.crosstales.com/media/data/assets/OnlineCheck/OnlineCheck-doc.pdf"
 URL of the asset manual. More...
 
const string ASSET_API_URL = "https://crosstales.com/media/data/assets/OnlineCheck/api"
 URL of the asset API. More...
 
const string ASSET_FORUM_URL = "https://forum.unity.com/threads/online-check-pro-verify-internet-reachability.472558/"
 URL of the asset forum. More...
 
const string ASSET_WEB_URL = "https://www.crosstales.com/en/portfolio/OnlineCheck/"
 URL of the asset in crosstales. More...
 
const string ASSET_VIDEO_PROMO = "https://youtu.be/pPvKE-eyxV4?list=PLgtonIOr6Tb41XTMeeZ836tjHlKgOO84S"
 URL of the promotion video of the asset (Youtube). More...
 
const string ASSET_VIDEO_TUTORIAL = "https://youtu.be/bNdafUNcs68?list=PLgtonIOr6Tb41XTMeeZ836tjHlKgOO84S"
 URL of the tutorial video of the asset (Youtube). More...
 
const string KEY_PREFIX = "ONLINECHECK_CFG_"
 
const string KEY_DEBUG = KEY_PREFIX + "DEBUG"
 
const string ONLINECHECK_SCENE_OBJECT_NAME = "OnlineCheck"
 OnlineCheck prefab scene name. More...
 
const string PROXY_SCENE_OBJECT_NAME = "Proxy"
 Proxy prefab scene name. More...
 
const string PINGCHECK_SCENE_OBJECT_NAME = "PingCheck"
 PingCheck prefab scene name. More...
 
const string SPEEDTEST_SCENE_OBJECT_NAME = "SpeedTest"
 SpeedTest prefab scene name. More...
 
const string SPEEDTESTNET_SCENE_OBJECT_NAME = "SpeedTestNET"
 SpeedTestNET prefab scene name. More...
 
const string TAB = "\t\t"
 
- Static Public Attributes inherited from Crosstales.Common.Util.BaseConstants
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\-\.\?\,\'\/\\\+&amp;%\$#_]*)?$"))
 
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...
 

Additional Inherited Members

- Properties inherited from Crosstales.Common.Util.BaseConstants
static string PREFIX_FILE [get]
 URL prefix for files. More...
 

Detailed Description

Collected constants of very general utility for the asset.

Member Data Documentation

◆ ASSET_API_URL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_API_URL = "https://crosstales.com/media/data/assets/OnlineCheck/api"
static

URL of the asset API.

◆ ASSET_BUILD

const int Crosstales.OnlineCheck.Util.Constants.ASSET_BUILD = 20240315
static

Build number of the asset.

◆ ASSET_CHANGED

readonly System.DateTime Crosstales.OnlineCheck.Util.Constants.ASSET_CHANGED = new System.DateTime(2024, 3, 15)
static

Change date of the asset (YYYY, MM, DD).

◆ ASSET_CONTACT

const string Crosstales.OnlineCheck.Util.Constants.ASSET_CONTACT = "onlinecheck@crosstales.com"
static

Contact to the owner of the asset.

◆ ASSET_CREATED

readonly System.DateTime Crosstales.OnlineCheck.Util.Constants.ASSET_CREATED = new System.DateTime(2017, 5, 4)
static

Create date of the asset (YYYY, MM, DD).

◆ ASSET_FORUM_URL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_FORUM_URL = "https://forum.unity.com/threads/online-check-pro-verify-internet-reachability.472558/"
static

URL of the asset forum.

◆ ASSET_MANUAL_URL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_MANUAL_URL = "https://www.crosstales.com/media/data/assets/OnlineCheck/OnlineCheck-doc.pdf"
static

URL of the asset manual.

◆ ASSET_NAME

const string Crosstales.OnlineCheck.Util.Constants.ASSET_NAME = "Online Check PRO"
static

Name of the asset.

◆ ASSET_NAME_SHORT

const string Crosstales.OnlineCheck.Util.Constants.ASSET_NAME_SHORT = "OC PRO"
static

Short name of the asset.

◆ ASSET_PRO_URL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_PRO_URL = "https://assetstore.unity.com/packages/slug/74688?aid=1011lNGT"
static

URL of the PRO asset in UAS.

◆ ASSET_UPDATE_CHECK_URL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_UPDATE_CHECK_URL = "https://www.crosstales.com/media/assets/onlinecheck_versions.txt"
static

URL for update-checks of the asset

◆ ASSET_VERSION

const string Crosstales.OnlineCheck.Util.Constants.ASSET_VERSION = "2024.1.1"
static

Version of the asset.

◆ ASSET_VIDEO_PROMO

const string Crosstales.OnlineCheck.Util.Constants.ASSET_VIDEO_PROMO = "https://youtu.be/pPvKE-eyxV4?list=PLgtonIOr6Tb41XTMeeZ836tjHlKgOO84S"
static

URL of the promotion video of the asset (Youtube).

◆ ASSET_VIDEO_TUTORIAL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_VIDEO_TUTORIAL = "https://youtu.be/bNdafUNcs68?list=PLgtonIOr6Tb41XTMeeZ836tjHlKgOO84S"
static

URL of the tutorial video of the asset (Youtube).

◆ ASSET_WEB_URL

const string Crosstales.OnlineCheck.Util.Constants.ASSET_WEB_URL = "https://www.crosstales.com/en/portfolio/OnlineCheck/"
static

URL of the asset in crosstales.

◆ ONLINECHECK_SCENE_OBJECT_NAME

const string Crosstales.OnlineCheck.Util.Constants.ONLINECHECK_SCENE_OBJECT_NAME = "OnlineCheck"
static

OnlineCheck prefab scene name.

◆ PINGCHECK_SCENE_OBJECT_NAME

const string Crosstales.OnlineCheck.Util.Constants.PINGCHECK_SCENE_OBJECT_NAME = "PingCheck"
static

PingCheck prefab scene name.

◆ PROXY_SCENE_OBJECT_NAME

const string Crosstales.OnlineCheck.Util.Constants.PROXY_SCENE_OBJECT_NAME = "Proxy"
static

Proxy prefab scene name.

◆ SPEEDTEST_SCENE_OBJECT_NAME

const string Crosstales.OnlineCheck.Util.Constants.SPEEDTEST_SCENE_OBJECT_NAME = "SpeedTest"
static

SpeedTest prefab scene name.

◆ SPEEDTESTNET_SCENE_OBJECT_NAME

const string Crosstales.OnlineCheck.Util.Constants.SPEEDTESTNET_SCENE_OBJECT_NAME = "SpeedTestNET"
static

SpeedTestNET prefab scene name.


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/OnlineCheck/OnlineCheckPro/Assets/Plugins/crosstales/OnlineCheck/Scripts/Util/Constants.cs