Terraria ModLoader  0.11.5
A framework for 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...

+ Inheritance diagram for Terraria.ModLoader.Config.JsonDefaultListValueAttribute:
+ Collaboration diagram for Terraria.ModLoader.Config.JsonDefaultListValueAttribute:

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).

Definition at line 212 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

Terraria.ModLoader.Config.JsonDefaultListValueAttribute.JsonDefaultListValueAttribute ( string  json)

Definition at line 215 of file ConfigAttributes.cs.

Member Data Documentation

string Terraria.ModLoader.Config.JsonDefaultListValueAttribute.json

Definition at line 214 of file ConfigAttributes.cs.