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

◆ AutoloadGores()

static void Terraria.ModLoader.GoreLoader.AutoloadGores ( Mod mod)
inlinestaticpackage

Definition at line 48 of file GoreLoader.cs.

49 {
50 foreach (string item in from t in mod.RootContentSource.EnumerateAssets()
51 where t.Contains("Gores/")
52 select t)
53 {
54 string texturePath = Path.ChangeExtension(item, null);
55 if (!mod.TryFind<ModGore>(Path.GetFileName(texturePath), out var _))
56 {
57 string textureKey = mod.Name + "/" + texturePath;
59 }
60 }
61 }

Referenced by Terraria.ModLoader.Mod.Autoload().

+ Here is the caller graph for this function: