Terraria ModLoader  0.11.4
A framework for Terraria mods
Terraria.ModLoader.Config.OptionStringsAttribute Class Reference

By default, string fields will provide the user with a text input field. Use this attribute to restrict strings to a selection of options. More...

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

Public Member Functions

 OptionStringsAttribute (string[] optionLabels)
 

Properties

string[] optionLabels [get, set]
 

Detailed Description

By default, string fields will provide the user with a text input field. Use this attribute to restrict strings to a selection of options.

Definition at line 247 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

Terraria.ModLoader.Config.OptionStringsAttribute.OptionStringsAttribute ( string[]  optionLabels)

Definition at line 250 of file ConfigAttributes.cs.

Property Documentation

string [] Terraria.ModLoader.Config.OptionStringsAttribute.optionLabels
getset

Definition at line 249 of file ConfigAttributes.cs.