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

Classes

struct  AppliesToTypeSet
 

Static Public Member Functions

static bool AppliesToType (TGlobal global, int type)
 
static TGlobal[][] BuildPerTypeGlobalLists (TGlobal[] arr)
 
static TGlobal[] CachedFilter (TGlobal[] arr, Predicate< TGlobal > filter)
 
static TGlobal[] GetGlobalsForType (int type)
 
static void Init (TGlobal[][] globalsForType, AppliesToTypeSet[] appliesToTypeCache)
 
static void LogStats ()
 

Properties

static bool Initialized = false [get]