|
static string | ProcessMessage (string message, ICollection< string > keys) |
|
|
override string | HelpLink => "https://github.com/tModLoader/tModLoader/wiki/Basic-tModLoader-Modding-FAQ#terrariamodloadermodgettexturestring-name-error" |
|
Definition at line 8 of file MissingResourceException.cs.
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
| ) |
|
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
string |
message | ) |
|
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
string |
message, |
|
|
Exception |
inner |
|
) |
| |
Terraria.ModLoader.Exceptions.MissingResourceException.MissingResourceException |
( |
string |
message, |
|
|
ICollection< string > |
keys |
|
) |
| |
static string Terraria.ModLoader.Exceptions.MissingResourceException.ProcessMessage |
( |
string |
message, |
|
|
ICollection< string > |
keys |
|
) |
| |
|
static |
Definition at line 26 of file MissingResourceException.cs.
27 string closestMatch =
"";
28 closestMatch = LevenshteinDistance.FolderAwareEditDistance(message, keys.ToArray());
29 if (closestMatch != null && closestMatch !=
"") {
30 return Language.GetTextValue(
"tModLoader.LoadErrorResourceNotFoundPathHint", message, closestMatch) +
"\n";
override string Terraria.ModLoader.Exceptions.MissingResourceException.HelpLink => "https://github.com/tModLoader/tModLoader/wiki/Basic-tModLoader-Modding-FAQ#terrariamodloadermodgettexturestring-name-error" |