Terraria ModLoader  0.10.1.5
A framework for Terraria mods
ModProperties.cs
Go to the documentation of this file.
1 namespace Terraria.ModLoader
2 {
6  public struct ModProperties
7  {
11  public bool Autoload;
15  public bool AutoloadGores;
19  public bool AutoloadSounds;
23  public bool AutoloadBackgrounds;
24 
28  public static ModProperties AutoLoadAll { get; } =
29  new ModProperties() {
30  Autoload = true,
31  AutoloadGores = true,
32  AutoloadSounds = true,
33  AutoloadBackgrounds = true
34  };
35  }
36 }
This is a struct that stores the properties of a mod. Without setting it in your Mod constructor...
Definition: ModProperties.cs:6
bool AutoloadBackgrounds
Whether or not this mod will automatically add images in the Backgrounds folder as background texture...
bool AutoloadSounds
Whether or not this mod will automatically add sounds in the Sounds folder to the game...
bool Autoload
Whether or not this mod will autoload content by default. Autoloading content means you do not need t...
bool AutoloadGores
Whether or not this mod will automatically add images in the Gores folder as gores to the game...