tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.ModLoader.Config.RangeAttribute Class Reference

Specifies a range for primitive data values. Without this, default min and max are as follows: float: 0, 1 - int/uint: 0, 100 - byte: 0, 255 More...

Inherits Attribute.

Public Member Functions

 RangeAttribute (byte min, byte max)
 
 RangeAttribute (float min, float max)
 
 RangeAttribute (int min, int max)
 
 RangeAttribute (uint min, uint max)
 

Public Attributes

object max
 
object min
 

Detailed Description

Specifies a range for primitive data values. Without this, default min and max are as follows: float: 0, 1 - int/uint: 0, 100 - byte: 0, 255