tModLoader v2024.11
A mod to make and play Terraria mods
GlobalList< TGlobal > Class Template Reference

Static Public Member Functions

static void FinishLoading (int typeCount)
 Call during ILoader.ResizeArrays. Which runs after all ILoadable.Load(Mod) calls, but before any ModType.SetupContent calls
 
static void Reset ()
 Call during unloading, to clear the globals list
 

Properties

static int EntityTypeCount [get]
 
static TGlobal[] Globals = Array.Empty<TGlobal>() [get]
 All registered globals. Empty until all globals have loaded
 
static int SlotsPerEntity [get]