tModLoader v2024.07
A mod to make and play Terraria mods
ExtendsFromModAttribute Class Reference

Excludes a class from JIT and also from autoloading. Annotate classes that inherit from classes from weakly referenced modswith this attribute to prevent the game from attempting to autoload the class, which would cause load errors otherwise. See this wiki pagefor more information. More...

Inherits Attribute.

Public Member Functions

 ExtendsFromModAttribute (params string[] names)
 

Public Attributes

readonly string[] Names
 

Detailed Description

Excludes a class from JIT and also from autoloading. Annotate classes that inherit from classes from weakly referenced mods

with this attribute to prevent the game from attempting to autoload the class, which would cause load errors otherwise. See this wiki page

for more information.