tModLoader v0.11.8.9
A mod to make and play Terraria mods
Terraria.ModLoader.Config.LabelAttribute Class Reference

This attribute sets a label for the property, field, or class for use in the ModConfig UI. Starting the label with $ means the label should be interpreted as a Localization key. More...

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

Public Member Functions

 LabelAttribute (string label)
 

Properties

string Label [get]
 

Private Attributes

readonly string label
 

Detailed Description

This attribute sets a label for the property, field, or class for use in the ModConfig UI. Starting the label with $ means the label should be interpreted as a Localization key.

Definition at line 44 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ LabelAttribute()

Terraria.ModLoader.Config.LabelAttribute.LabelAttribute ( string  label)

Definition at line 47 of file ConfigAttributes.cs.

47 {
48 this.label = label;
49 }

References Terraria.ModLoader.Config.LabelAttribute.label.

Member Data Documentation

◆ label

readonly string Terraria.ModLoader.Config.LabelAttribute.label
private

Property Documentation

◆ Label

string Terraria.ModLoader.Config.LabelAttribute.Label
get

Definition at line 50 of file ConfigAttributes.cs.