tModLoader v2024.10
A mod to make and play Terraria mods
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]