tModLoader v0.11.8.9
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...

+ 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

◆ JsonDefaultListValueAttribute()

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

Member Data Documentation

◆ json

string Terraria.ModLoader.Config.JsonDefaultListValueAttribute.json