tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.ModLoader.Core.Cloning Class Reference

Static Public Member Functions

static void AddImmutableType (Type type)
static bool IsCloneable (Type type, MethodInfo 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 Terraria.ModLoader.Core.Cloning.IsCloneable< T, F > ( t,
Expression< Func< T, F > >  cloneMethod 
Type Constraints
F :Delegate