![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
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) | |
Properties | |
object | Max [get] |
object | Min [get] |
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