|
tModLoader v2025.10
A mod to make and play Terraria mods
|
Static Public Member Functions | |
| static ? object | AlternateCreateInstance (Type type) |
| static bool | EnumerableEquals (IEnumerable a, IEnumerable b) |
| static ModConfig | GeneratePopulatedClone (ModConfig original) |
| Creates a clone of the provided ModConfig. This clone can be modified independently of the active config. Mods can use this method to create a clone of the active config, then use it to populate a UI. The player can use the UI to make several changes then save them all at once. | |
| static ? T | GetCustomAttributeFromCollectionMemberThenElementType< T > (MemberInfo memberInfo, Type elementType) |
| static ? T | GetCustomAttributeFromMemberThenMemberType< T > (PropertyFieldWrapper memberInfo, object? item, object? array) |
| static IEnumerable< PropertyFieldWrapper > | GetFieldsAndProperties (object item) |
| static IEnumerable< PropertyFieldWrapper > | GetFieldsAndProperties (Type type) |
| static bool | ObjectEquals (object? a, object? b) |
| static void | SetPendingChanges (bool changes=true) |
| static Tuple< UIElement, UIElement > | WrapIt (UIElement parent, ref int top, PropertyFieldWrapper memberInfo, object item, int order, object? list=null, Type? arrayType=null, int index=-1) |
Static Public Attributes | |
| static readonly string | ModConfigPath = Path.Combine(Main.SavePath, "ModConfigs") |
| static readonly JsonSerializerSettings | serializerSettings |
| static readonly string | ServerModConfigPath = Path.Combine(Main.SavePath, "ModConfigs", "Server") |
|
static |
| T | : | Attribute |
|
static |
| T | : | Attribute |
|
static |