tModLoader v0.11.8.9
A mod to make and play 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

◆ OptionStringsAttribute()

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

Property Documentation

◆ optionLabels

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

Definition at line 249 of file ConfigAttributes.cs.

249{ get; set; }

Referenced by Terraria.ModLoader.Config.OptionStringsAttribute.OptionStringsAttribute().