tModLoader v2022.09
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...

Inherits Attribute.

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.