tModLoader v2024.02
A mod to make and play Terraria mods
AutoloadAttribute Class Reference

Allows for types to be autoloaded and unloaded. True to always autoload, false to never autoload, null to use mod default. More...

Inherits Attribute.

Public Member Functions

 AutoloadAttribute (bool value=true)
 

Static Public Member Functions

static AutoloadAttribute GetValue (Type type)
 

Public Attributes

readonly bool Value
 

Properties

bool NeedsAutoloading [get]
 
ModSide Side = ModSide.Both [get, set]
 

Detailed Description

Allows for types to be autoloaded and unloaded. True to always autoload, false to never autoload, null to use mod default.