Terraria ModLoader  0.11.1
A framework for Terraria mods
Terraria.ModLoader.Config.IncrementAttribute Class Reference

Use this to set an increment for sliders. The slider will move by the amount assigned. Remember that this is just a UI suggestion and manual editing of config files can specify other values, so validate your values. Defaults are: float: 0.01f - byte/int/uint: 1 More...

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

Public Member Functions

 IncrementAttribute (int increment)
 
 IncrementAttribute (float increment)
 
 IncrementAttribute (uint increment)
 
 IncrementAttribute (byte increment)
 

Public Attributes

object increment
 

Detailed Description

Use this to set an increment for sliders. The slider will move by the amount assigned. Remember that this is just a UI suggestion and manual editing of config files can specify other values, so validate your values. Defaults are: float: 0.01f - byte/int/uint: 1

Definition at line 141 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ IncrementAttribute() [1/4]

Terraria.ModLoader.Config.IncrementAttribute.IncrementAttribute ( int  increment)

Definition at line 144 of file ConfigAttributes.cs.

◆ IncrementAttribute() [2/4]

Terraria.ModLoader.Config.IncrementAttribute.IncrementAttribute ( float  increment)

Definition at line 148 of file ConfigAttributes.cs.

◆ IncrementAttribute() [3/4]

Terraria.ModLoader.Config.IncrementAttribute.IncrementAttribute ( uint  increment)

Definition at line 152 of file ConfigAttributes.cs.

◆ IncrementAttribute() [4/4]

Terraria.ModLoader.Config.IncrementAttribute.IncrementAttribute ( byte  increment)

Definition at line 156 of file ConfigAttributes.cs.

Member Data Documentation

◆ increment

object Terraria.ModLoader.Config.IncrementAttribute.increment

Definition at line 143 of file ConfigAttributes.cs.