tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Cloning Class Reference

Static Public Member Functions

static void AddImmutableType (Type type)
 
static bool IsCloneable< T > (T t, Expression< Func< T, Delegate > > cloneMethod)
 
static bool IsCloneable< T, F > (T t, Expression< Func< T, F > > cloneMethod)
 
static bool IsImmutable (Type type)
 
static void WarnNotCloneable (Type type)
 

Member Function Documentation

◆ IsCloneable< T, F >()

static bool Cloning.IsCloneable< T, F > ( t,
Expression< Func< T, F > >  cloneMethod 
)
static
Type Constraints
F :Delegate