Terraria ModLoader  0.11.5
A framework for 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...

+ 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 primitive data values. Without this, default min and max are as follows: float: 0, 1 - int/uint: 0, 100 - byte: 0, 255

Definition at line 281 of file ConfigAttributes.cs.

Constructor & Destructor Documentation

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

Definition at line 286 of file ConfigAttributes.cs.

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

Definition at line 291 of file ConfigAttributes.cs.

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

Definition at line 295 of file ConfigAttributes.cs.

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

Definition at line 299 of file ConfigAttributes.cs.

Member Data Documentation

object Terraria.ModLoader.Config.RangeAttribute.max

Definition at line 284 of file ConfigAttributes.cs.

object Terraria.ModLoader.Config.RangeAttribute.min

Definition at line 283 of file ConfigAttributes.cs.