tModLoader v0.11.8.9
A mod to make and play Terraria mods
ModProperties.cs
Go to the documentation of this file.
1namespace Terraria.ModLoader
2{
6 public struct ModProperties
7 {
11 public bool Autoload;
15 public bool AutoloadGores;
19 public bool AutoloadSounds;
24
28 public static ModProperties AutoLoadAll { get; } =
29 new ModProperties() {
30 Autoload = true,
31 AutoloadGores = true,
32 AutoloadSounds = 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:7
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,...
static ModProperties AutoLoadAll
Automatically return a ModProperties object which has all AutoLoad values set to true.
bool AutoloadBackgrounds
Whether or not this mod will automatically add images in the Backgrounds folder as background texture...