-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBuiltinEscapeCodes.cs
33 lines (32 loc) · 1.13 KB
/
BuiltinEscapeCodes.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
namespace Clouds.UI.TextWriting {
public static class BuiltinEscapeCodes {
/// <summary>
/// This character marks the next as an escape code.
/// </summary>
public const char escapeChar = '\\';
/// <summary>
/// \d[*.***] - Pause typing for however long is indicated.
/// </summary>
public const char delay = 'd';
/// <summary>
/// \s[*.***] - Set the delay between typed characters to the number indicated.
/// </summary>
public const char typeSpeed = 's';
/// <summary>
/// \i[***] - Display an icon from the icon set.
/// </summary>
public const char icon = 'i';
/// <summary>
/// \! - When the next message is shown, show it in addition to this one.
/// </summary>
public const char dontClear = '!';
/// <summary>
/// \< - Set the box to write all at once. Used to toggle, but for TMPro compatibility it's constant now.
/// </summary>
public const char writeAllAtOnce = '<';
/// <summary>
/// \> - Set the box to write in the normal style: if default is one at a time, then one at a time, and vice versa.
/// </summary>
public const char writeAtDefaultPace = '>';
}
}