Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ValidateAllCharactersContainedInFont()

void Terraria.Localization.LanguageManager.ValidateAllCharactersContainedInFont ( DynamicSpriteFont font)
inlineprivate

Definition at line 290 of file LanguageManager.cs.

291 {
292 if (font == null)
293 {
294 return;
295 }
296 string text = "";
297 foreach (LocalizedText value2 in _localizedTexts.Values)
298 {
299 string value = value2.Value;
300 for (int i = 0; i < value.Length; i++)
301 {
302 char c = value[i];
303 if (!font.IsCharacterSupported(c))
304 {
305 text = text + value2.Key + ", " + c.ToString() + ", " + (int)c + "\n";
306 }
307 }
308 }
309 }
readonly Dictionary< string, LocalizedText > _localizedTexts

References Terraria.Localization.LanguageManager._localizedTexts, System.Text.RegularExpressions.i, System.text, System.value, and System.Collections.Generic.Dictionary< TKey, TValue >.Values.