tModLoader v2024.09
A mod to make and play Terraria mods
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...

Inherits Attribute.

Public Member Functions

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

Properties

object Increment [get]
 

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