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

This attribute adds a label above this property or field in the ModConfig UI that acts as a header. Use this to delineate sections within your config. Note that fields will be in order, and properties will be in order, but fields and properties will not be interleaved together in the source code order. More...

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

Public Member Functions

 HeaderAttribute (string header)
 

Properties

string Header [get]
 

Private Attributes

readonly string header
 

Detailed Description

This attribute adds a label above this property or field in the ModConfig UI that acts as a header. Use this to delineate sections within your config. Note that fields will be in order, and properties will be in order, but fields and properties will not be interleaved together in the source code order.

Definition at line 72 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ HeaderAttribute()

Terraria.ModLoader.Config.HeaderAttribute.HeaderAttribute ( string  header)

Definition at line 75 of file ConfigAttributes.cs.

75 {
76 this.header = header;
77 }

References Terraria.ModLoader.Config.HeaderAttribute.header.

Member Data Documentation

◆ header

readonly string Terraria.ModLoader.Config.HeaderAttribute.header
private

Property Documentation

◆ Header

string Terraria.ModLoader.Config.HeaderAttribute.Header
get

Definition at line 78 of file ConfigAttributes.cs.