tModLoader v2023.01
A mod to make and play Terraria mods
Terraria.Utilities.FastRandom Struct Reference

Public Member Functions

 FastRandom (int seed)
 
 FastRandom (ulong seed)
 
int Next (int max)
 
int Next (int min, int max)
 
double NextDouble ()
 
float NextFloat ()
 
void NextSeed ()
 
FastRandom WithModifier (int x, int y)
 
FastRandom WithModifier (ulong modifier)
 

Static Public Member Functions

static FastRandom CreateWithRandomSeed ()
 

Properties

ulong Seed [get]