![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
Defines the default value to be added when using the ModConfig UI to add elements to a Collection (List, Set, or Dictionary value). Works the same as System.ComponentModel.DefaultValueAttribute, but can't inherit from it because it would break when deserializing any data structure annotated with it. More...
Inherits Attribute.
Protected Member Functions | |
void | SetValue (object value) |
Properties | |
virtual object | Value [get] |
Defines the default value to be added when using the ModConfig UI to add elements to a Collection (List, Set, or Dictionary value). Works the same as System.ComponentModel.DefaultValueAttribute, but can't inherit from it because it would break when deserializing any data structure annotated with it.