tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.Config.JsonDefaultListValueAttribute Class Reference

Similar to DefaultListValueAttribute but for reference types. It uses a json string that will be used populate new instances list elements. Defines the default value, expressed as json, to be added when using the ModConfig UI to add elements to a Collection (List, Set, or Dictionary value). More...

Inherits Attribute.

Public Member Functions

 JsonDefaultListValueAttribute (string json)
 

Public Attributes

string json
 

Detailed Description

Similar to DefaultListValueAttribute but for reference types. It uses a json string that will be used populate new instances list elements. Defines the default value, expressed as json, to be added when using the ModConfig UI to add elements to a Collection (List, Set, or Dictionary value).