TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches
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)
 

Properties

string Json [get]
 

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 9 of file JsonDefaultListValueAttribute.cs.


The documentation for this class was generated from the following file: