|
const string | ASSET_NAME = "Turbo Switch PRO" |
| Name of the asset. More...
|
|
const string | ASSET_NAME_SHORT = "TPS PRO" |
| Short name of the asset. More...
|
|
const string | ASSET_VERSION = "2024.1.1" |
| Version of the asset. More...
|
|
const int | ASSET_BUILD = 20240226 |
| Build number of the asset. More...
|
|
static readonly System.DateTime | ASSET_CREATED = new System.DateTime(2016, 9, 22) |
| Create date of the asset (YYYY, MM, DD). More...
|
|
static readonly System.DateTime | ASSET_CHANGED = new System.DateTime(2024, 2, 26) |
| Change date of the asset (YYYY, MM, DD). More...
|
|
const string | ASSET_PRO_URL = "https://assetstore.unity.com/packages/slug/60040?aid=1011lNGT" |
| URL of the PRO asset in UAS. More...
|
|
const string | ASSET_UPDATE_CHECK_URL = "https://www.crosstales.com/media/assets/tps_versions.txt" |
| URL for update-checks of the asset More...
|
|
const string | ASSET_CONTACT = "tps@crosstales.com" |
| Contact to the owner of the asset. More...
|
|
const string | ASSET_MANUAL_URL = "https://www.crosstales.com/media/data/assets/tps/TurboSwitch-doc.pdf" |
| URL of the asset manual. More...
|
|
const string | ASSET_API_URL = "https://www.crosstales.com/en/assets/tps/api/" |
| URL of the asset API. More...
|
|
const string | ASSET_FORUM_URL = "https://forum.unity.com/threads/turbo-switch-fast-and-save-platform-switches.434860/" |
| URL of the asset forum. More...
|
|
const string | ASSET_WEB_URL = "https://www.crosstales.com/en/portfolio/tps/" |
| URL of the asset in crosstales. More...
|
|
const string | ASSET_VIDEO_PROMO = "https://youtu.be/rb1cqypznEg?list=PLgtonIOr6Tb41XTMeeZ836tjHlKgOO84S" |
| URL of the promotion video of the asset (Youtube). More...
|
|
const string | ASSET_VIDEO_TUTORIAL = "https://youtu.be/J2zh0EjmrjQ?list=PLgtonIOr6Tb41XTMeeZ836tjHlKgOO84S" |
| URL of the tutorial video of the asset (Youtube). More...
|
|
const string | KEY_VCS = "CT_CFG_VCS" |
|
const string | KEY_CUSTOM_PATH_CACHE = KEY_PREFIX + "CUSTOM_PATH_CACHE" |
|
const string | KEY_PATH_CACHE = KEY_PREFIX + "PATH_CACHE" |
|
const string | KEY_USE_LEGACY = KEY_PREFIX + "USE_LEGACY" |
|
const string | KEY_BATCHMODE = KEY_PREFIX + "BATCHMODE" |
|
const string | KEY_QUIT = KEY_PREFIX + "QUIT" |
|
const string | KEY_NO_GRAPHICS = KEY_PREFIX + "NO_GRAPHICS" |
|
const string | KEY_EXECUTE_METHOD_PRE_SWITCH = KEY_PREFIX + "EXECUTE_METHOD_PRE_SWITCH" |
|
const string | KEY_EXECUTE_METHOD = KEY_PREFIX + "EXECUTE_METHOD" |
|
const string | KEY_COPY_ASSETS = KEY_PREFIX + "COPY_ASSETS" |
|
const string | KEY_COPY_LIBRARY = KEY_PREFIX + "COPY_LIBRARY" |
|
const string | KEY_COPY_SETTINGS = KEY_PREFIX + "COPY_SETTINGS" |
|
const string | KEY_THREADS = KEY_PREFIX + "THREADS" |
|
const string | KEY_DELETE_LOCKFILE = KEY_PREFIX + "DELETE_LOCKFILE" |
|
const string | KEY_CONFIRM_SWITCH = KEY_PREFIX + "CONFIRM_SWITCH" |
|
const string | KEY_DEBUG = KEY_PREFIX + "DEBUG" |
|
const string | KEY_UPDATE_CHECK = KEY_PREFIX + "UPDATE_CHECK" |
|
const string | KEY_COMPILE_DEFINES = KEY_PREFIX + "COMPILE_DEFINES" |
|
const string | KEY_PLATFORM_WINDOWS = KEY_PREFIX + "PLATFORM_WINDOWS" |
|
const string | KEY_PLATFORM_MAC = KEY_PREFIX + "PLATFORM_MAC" |
|
const string | KEY_PLATFORM_LINUX = KEY_PREFIX + "PLATFORM_LINUX" |
|
const string | KEY_PLATFORM_ANDROID = KEY_PREFIX + "PLATFORM_ANDROID" |
|
const string | KEY_PLATFORM_IOS = KEY_PREFIX + "PLATFORM_IOS" |
|
const string | KEY_PLATFORM_WSA = KEY_PREFIX + "PLATFORM_WSA" |
|
const string | KEY_PLATFORM_WEBGL = KEY_PREFIX + "PLATFORM_WEBGL" |
|
const string | KEY_PLATFORM_TVOS = KEY_PREFIX + "PLATFORM_TVOS" |
|
const string | KEY_PLATFORM_PS4 = KEY_PREFIX + "PLATFORM_PS4" |
|
const string | KEY_PLATFORM_XBOXONE = KEY_PREFIX + "PLATFORM_XBOXONE" |
|
const string | KEY_PLATFORM_SWITCH = KEY_PREFIX + "PLATFORM_SWITCH" |
|
const string | KEY_ARCH_WINDOWS = KEY_PREFIX + "ARCH_WINDOWS" |
|
const string | KEY_ARCH_LINUX = KEY_PREFIX + "ARCH_LINUX" |
|
const string | KEY_TEX_ANDROID = KEY_PREFIX + "TEX_ANDROID" |
|
const string | KEY_SHOW_COLUMN_PLATFORM = KEY_PREFIX + "SHOW_COLUMN_PLATFORM" |
|
const string | KEY_SHOW_COLUMN_ARCHITECTURE = KEY_PREFIX + "SHOW_COLUMN_ARCHITECTURE" |
|
const string | KEY_SHOW_COLUMN_TEXTURE = KEY_PREFIX + "SHOW_COLUMN_TEXTURE" |
|
const string | KEY_SHOW_COLUMN_CACHE = KEY_PREFIX + "SHOW_COLUMN_CACHE" |
|
const string | KEY_SWITCH_DATE = KEY_PREFIX + "SWITCH_DATE" |
|
const string | KEY_SETUP_DATE = KEY_PREFIX + "SETUP_DATE" |
|
const string | KEY_UPDATE_DATE = KEY_PREFIX + "UPDATE_DATE" |
|
const string | KEY_AUTO_SAVE = KEY_PREFIX + "AUTO_SAVE" |
|
const string | CACHE_DIRNAME = "TPS_cache" |
|
const string | DEFAULT_ASSET_PATH = "/Plugins/crosstales/TurboSwitch/" |
|
static readonly string | DEFAULT_PATH_CACHE = Crosstales.Common.Util.FileHelper.ValidatePath(APPLICATION_PATH + CACHE_DIRNAME) |
|
const bool | DEFAULT_CUSTOM_PATH_CACHE = false |
|
const int | DEFAULT_VCS = 0 |
|
const bool | DEFAULT_USE_LEGACY = false |
|
const bool | DEFAULT_BATCHMODE = false |
|
const bool | DEFAULT_QUIT = true |
|
const bool | DEFAULT_NO_GRAPHICS = false |
|
const bool | DEFAULT_DELETE_LOCKFILE = false |
|
const bool | DEFAULT_COPY_ASSETS = false |
|
const bool | DEFAULT_COPY_LIBRARY = true |
|
const bool | DEFAULT_COPY_SETTINGS = false |
|
const int | DEFAULT_THREADS = 16 |
|
const bool | DEFAULT_CONFIRM_SWITCH = true |
|
const bool | DEFAULT_UPDATE_CHECK = false |
|
const bool | DEFAULT_COMPILE_DEFINES = true |
|
const int | DEFAULT_ARCH_WINDOWS = 1 |
|
const int | DEFAULT_ARCH_LINUX = 1 |
|
const int | DEFAULT_TEX_ANDROID = 0 |
|
const bool | DEFAULT_SHOW_COLUMN_PLATFORM = true |
|
const bool | DEFAULT_SHOW_COLUMN_PLATFORM_LOGO = false |
|
const bool | DEFAULT_SHOW_COLUMN_ARCHITECTURE = true |
|
const bool | DEFAULT_SHOW_COLUMN_TEXTURE = false |
|
const bool | DEFAULT_SHOW_COLUMN_CACHE = true |
|
const bool | DEFAULT_AUTO_SAVE = false |
|
static string | ASSET_URL => ASSET_PRO_URL |
| Returns the URL of the asset in UAS. More...
|
|
static string | ASSET_ID => "60040" |
| Returns the ID of the asset in UAS. More...
|
|
static System.Guid | ASSET_UID => new System.Guid("2d03d693-219a-4fa4-a9b0-83e5a59ebe01") |
| Returns the UID of the asset. More...
|
|
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...
|
|