Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
FastRandom (ulong seed) | |
FastRandom (int seed) | |
FastRandom | WithModifier (ulong modifier) |
FastRandom | WithModifier (int x, int y) |
void | NextSeed () |
float | NextFloat () |
double | NextDouble () |
int | Next (int max) |
int | Next (int min, int max) |
Static Public Member Functions | |
static FastRandom | CreateWithRandomSeed () |
Properties | |
ulong | Seed [get, private set] |
Private Member Functions | |
int | NextBits (int bits) |
Static Private Member Functions | |
static ulong | NextSeed (ulong seed) |
Static Private Attributes | |
const ulong | RANDOM_MULTIPLIER = 25214903917uL |
const ulong | RANDOM_ADD = 11uL |
const ulong | RANDOM_MASK = 281474976710655uL |
Definition at line 5 of file FastRandom.cs.