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

◆ SetupContent()

override void Terraria.ModLoader.InfoDisplay.SetupContent ( )
inlinesealedvirtualinherited

If you make a new ModType, seal this override, and call M:Terraria.ModLoader.ModType.SetStaticDefaults in it.

Reimplemented from Terraria.ModLoader.ModType< TEntity, TModType >.

Definition at line 135 of file InfoDisplay.cs.

136 {
137 ModContent.Request<Texture2D>(Texture);
139 }
virtual string Texture
The file name of this type's texture file in the mod loader's file space.
virtual void SetStaticDefaults()
Allows you to modify the properties after initial loading has completed.
Definition ModType.cs:72

References Terraria.ModLoader.ModType< TEntity, TModType >.SetStaticDefaults(), and Terraria.ModLoader.ModTexturedType.Texture.

+ Here is the call graph for this function: