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

◆ ReadEmbeddedResource()

static string Terraria.Utils.ReadEmbeddedResource ( string path)
inlinestatic

Definition at line 2562 of file Utils.cs.

2563 {
2564 using Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(path);
2565 using StreamReader streamReader = new StreamReader(stream);
2566 return streamReader.ReadToEnd();
2567 }

Referenced by Terraria.GameContent.VanillaContentValidator.VanillaContentValidator(), Terraria.GameContent.Creative.CreativeItemSacrificesCatalog.Initialize(), and Terraria.Localization.LanguageManager.LoadFilesForCulture().

+ Here is the caller graph for this function: