|
static string | ProcessMessage (string message, ICollection< string > keys) |
|
Definition at line 8 of file MissingResourceException.cs.
◆ MissingResourceException() [1/4]
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
| ) |
|
◆ MissingResourceException() [2/4]
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
string |
message | ) |
|
◆ MissingResourceException() [3/4]
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
string |
message, |
|
|
Exception |
inner |
|
) |
| |
◆ MissingResourceException() [4/4]
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
string |
message, |
|
|
ICollection< string > |
keys |
|
) |
| |
◆ ProcessMessage()
static string Terraria.ModLoader.Exceptions.MissingResourceException.ProcessMessage |
( |
string |
message, |
|
|
ICollection< string > |
keys |
|
) |
| |
|
static |
Definition at line 26 of file MissingResourceException.cs.
26 {
27 string closestMatch = "";
28 closestMatch = LevenshteinDistance.FolderAwareEditDistance(message, keys.ToArray());
29 if (closestMatch != null && closestMatch != "") {
30 return Language.GetTextValue("tModLoader.LoadErrorResourceNotFoundPathHint", message, closestMatch) + "\n";
31 }
32 return message;
33 }
◆ HelpLink
override string Terraria.ModLoader.Exceptions.MissingResourceException.HelpLink |
|
get |