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

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

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

Public Member Functions

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

Public Attributes

object max
 
object min
 

Detailed Description

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

Definition at line 166 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

◆ RangeAttribute() [1/4]

Terraria.ModLoader.Config.RangeAttribute.RangeAttribute ( int  min,
int  max 
)

Definition at line 171 of file ConfigAttributes.cs.

◆ RangeAttribute() [2/4]

Terraria.ModLoader.Config.RangeAttribute.RangeAttribute ( float  min,
float  max 
)

Definition at line 177 of file ConfigAttributes.cs.

◆ RangeAttribute() [3/4]

Terraria.ModLoader.Config.RangeAttribute.RangeAttribute ( uint  min,
uint  max 
)

Definition at line 182 of file ConfigAttributes.cs.

◆ RangeAttribute() [4/4]

Terraria.ModLoader.Config.RangeAttribute.RangeAttribute ( byte  min,
byte  max 
)

Definition at line 187 of file ConfigAttributes.cs.

Member Data Documentation

◆ max

object Terraria.ModLoader.Config.RangeAttribute.max

Definition at line 169 of file ConfigAttributes.cs.

◆ min

object Terraria.ModLoader.Config.RangeAttribute.min

Definition at line 168 of file ConfigAttributes.cs.