Project Arrhythmia
A video game developed by Vitamin Games.
Loading...
Searching...
No Matches
VGFunctions.LSText Class Reference

A class that handles text operations. More...

Classes

class  ASCII
 A class that maps characters to ASCII art. More...
 
class  TMPExtras
 

Static Public Member Functions

static string GenerateFriendlyKeycodes (List< KeyCode > _keys)
 
static List< string > WordWrap (string _input, int maxCharacters)
 
static void CopyToClipboard (string _text)
 
static IEnumerable< string > SplitToLines (string stringToSplit, int maxLineLength)
 
static List< string > GetLines (string value, int lineLength)
 
static List< string > GetChunks (string value, int chunkSize)
 
static string ClampString (string _inputStr, int _maxLength=16, string _end="...")
 
static string SetStringLength (string _inputStr, int _maxLength=16, string _end="...")
 
static string CharGenerator (int _length, char _char)
 
static string SpaceGenerator (int _length, string paddingChar=null)
 
static string CapString (string _inputStr, int _maxLength=16)
 
static string randomNumString (int length)
 
static string randomHex (string _current)
 
static string randomString (int length)
 
static char randomChar ()
 
static string FormatString (string _input)
 
static string ReplaceFirstInstance (string source, string find, string replace)
 
static string ConvertToTimecode (float time)
 

Static Public Attributes

static Dictionary< KeyCode, string > RemapToFriendly
 

Static Private Attributes

static StringBuilder sb = new StringBuilder()
 
static char[] RandomStrCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*_+{}|:<>?,./;'[]▓▒░▐▆▉☰☱☲☳☴☵☶☷►▼◄▬▩▨▧▦▥▤▣▢□■¤ÿòèµ¶™ßî¾ð¥œ⁕(◠‿◠✿)".ToCharArray()
 
static char[] RandomCharCharacters = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789~!@#$%^&*_+{}|:<>?,./;'[]▓▒░☰☱☲☳☴☵☶☷".ToCharArray()
 

Detailed Description

A class that handles text operations.

This class contains methods for manipulating and processing text. It may include operations like formatting, parsing, validating, and more.

Member Data Documentation

◆ RemapToFriendly

Dictionary<KeyCode, string> VGFunctions.LSText.RemapToFriendly
static
Initial value:
= new Dictionary<KeyCode, string>()
{
{KeyCode.Alpha0, "0"},
{KeyCode.Alpha1, "1"},
{KeyCode.Alpha2, "2"},
{KeyCode.Alpha3, "3"},
{KeyCode.Alpha4, "4"},
{KeyCode.Alpha5, "5"},
{KeyCode.Alpha6, "6"},
{KeyCode.Alpha7, "7"},
{KeyCode.Alpha8, "8"},
{KeyCode.Alpha9, "9"},
{KeyCode.LeftControl, "Ctrl"},
{KeyCode.RightControl, "Ctrl"},
{KeyCode.LeftShift, "Shift"},
{KeyCode.RightShift, "Shift"},
{KeyCode.LeftAlt, "Alt"},
{KeyCode.RightAlt, "Alt"},
{KeyCode.UpArrow, "Up"},
{KeyCode.DownArrow, "Down"},
{KeyCode.LeftArrow, "Left"},
{KeyCode.RightArrow, "Right"},
{KeyCode.Mouse0, "Left Click"},
{KeyCode.Tilde, "~ (Tilde)"},
{KeyCode.Quote, "' (Quote)"},
}

The documentation for this class was generated from the following file: