- Tiny Life.dll
public class Debug
- Inherited Members
- Extension Methods
A set of regular expressions that resolve into a Debug.CheatDelegate. When a cheat is entered in the F1 menu, and it matches the expression, the Debug.CheatDelegate is invoked. To register new cheats, simply add them to this dictionary.
public static readonly Dictionary<Regex, Debug.CheatDelegate> Cheats
A set of Debug.DebugDelegate that cause additional lines to displayed in the F1 menu. To register new debug lines, simply add them to this list. Keep in mind that, if too many debug lines are registered, they will go off-screen, so consider only displaying yours when holding certain hotkeys, or when they are necessary.
public static readonly List<Debug.DebugDelegate> DebugLines
Tries to execute the cheat with the given name or regular expression match.
public static bool TryCheat(string text)
The cheat to execute.
Whether the cheat was successfully exeucted.