Definition at line 81 of file FancyErrorPrinter.cs.
82 {
83 bool flag = false;
85 {
86 flag = true;
87 }
89 {
90 flag = true;
91 }
93 {
94 flag = true;
95 }
96 if (flag)
97 {
100 List<string> list =
new List<string> {
"If you are using an Anti-virus, please make sure it does not block Terraria in any way.",
"Try making sure your `Documents/My Games/Terraria` folder is not set to 'read-only'.",
"Try to verify/repair the game installation." };
102 {
103 list.
Add(
"Try updating OneDrive.");
104 }
112 }
113 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
void Add(TKey key, TValue value)
static void AppendSuggestions(StringBuilder text, List< string > suggestions)
static void IncludeOriginalMessage(StringBuilder text, Exception exception)
static void ShowTheBox(string preparedMessage)
References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), Terraria.UI.FancyErrorPrinter.AppendSuggestions(), System.Collections.Generic.Dictionary< TKey, TValue >.Contains(), System.exception, Terraria.UI.FancyErrorPrinter.IncludeOriginalMessage(), System.list, Terraria.UI.FancyErrorPrinter.ShowTheBox(), and System.Console.WriteLine().
Referenced by Terraria.Utils.TryCreatingDirectory().