Terraria ModLoader  0.11.1
A framework for Terraria mods
Terraria.ModLoader.Config.DefaultListValueAttribute Class Reference

Defines the default value to be added when using the ModConfig UI to add elements to a List More...

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

Public Member Functions

 DefaultListValueAttribute (int defaultValue)
 
 DefaultListValueAttribute (float defaultValue)
 
 DefaultListValueAttribute (object defaultValue)
 

Public Attributes

object defaultValue
 

Detailed Description

Defines the default value to be added when using the ModConfig UI to add elements to a List

Definition at line 104 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ DefaultListValueAttribute() [1/3]

Terraria.ModLoader.Config.DefaultListValueAttribute.DefaultListValueAttribute ( int  defaultValue)

Definition at line 107 of file ConfigAttributes.cs.

◆ DefaultListValueAttribute() [2/3]

Terraria.ModLoader.Config.DefaultListValueAttribute.DefaultListValueAttribute ( float  defaultValue)

Definition at line 112 of file ConfigAttributes.cs.

◆ DefaultListValueAttribute() [3/3]

Terraria.ModLoader.Config.DefaultListValueAttribute.DefaultListValueAttribute ( object  defaultValue)

Definition at line 117 of file ConfigAttributes.cs.

Member Data Documentation

◆ defaultValue

object Terraria.ModLoader.Config.DefaultListValueAttribute.defaultValue

Definition at line 106 of file ConfigAttributes.cs.