tModLoader v2024.10
A mod to make and play Terraria mods
WorldGenRange Class Reference

Public Types

enum  ScalingMode { None , WorldArea , WorldWidth }
 

Public Member Functions

 WorldGenRange (int minimum, int maximum)
 
int GetRandom (UnifiedRandom random)
 

Public Attributes

readonly int Maximum
 
readonly int Minimum
 
readonly ScalingMode ScaleWith
 

Static Public Attributes

static readonly WorldGenRange Empty = new WorldGenRange(0, 0)
 

Properties

int ScaledMaximum [get]
 
int ScaledMinimum [get]