tModLoader v2023.10
A mod to make and play Terraria mods
GlobalHookList< TGlobal > Class Template Reference

Public Member Functions

 GlobalHookList (MethodInfo method)
 
ReadOnlySpan< TGlobal > Enumerate ()
 
EntityGlobalsEnumerator< TGlobal > Enumerate (IEntityWithGlobals< TGlobal > entity)
 
ReadOnlySpan< TGlobal > Enumerate (int type)
 
void Update ()
 

Static Public Member Functions

static GlobalHookList< TGlobal > Create< F > (Expression< Func< TGlobal, F > > expr)
 

Public Attributes

readonly MethodInfo method
 

Member Function Documentation

◆ Create< F >()

static GlobalHookList< TGlobal > GlobalHookList< TGlobal >.Create< F > ( Expression< Func< TGlobal, F > >  expr)
static
Type Constraints
F :Delegate 
F :new 
F :expr.ToMethodInfo()