tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.IModType Interface Reference

Inherits Terraria.ModLoader.ILoadable.

Inherited by Terraria.ModLoader.ModTileEntity, and Terraria.ModLoader.ModType.

Properties

string FullName [get]
 => $"{Mod.Name}/{Name}" More...
 
Mod Mod [get]
 The mod this belongs to. More...
 
string Name [get]
 The internal name of this instance. More...
 

Additional Inherited Members

- Public Member Functions inherited from Terraria.ModLoader.ILoadable
virtual bool IsLoadingEnabled (Mod mod)
 Whether or not this type should be loaded when it's told to. Returning false disables Mod.AddContent from actually loading this type. More...
 
abstract void Load (Mod mod)
 Called when loading the type. More...
 
abstract void Unload ()
 Called during unloading when needed. More...
 

Property Documentation

◆ FullName

string Terraria.ModLoader.IModType.FullName
get

=> $"{Mod.Name}/{Name}"

◆ Mod

Mod Terraria.ModLoader.IModType.Mod
get

The mod this belongs to.

◆ Name

string Terraria.ModLoader.IModType.Name
get

The internal name of this instance.