TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ RandomNext()

static int Terraria.Utils.RandomNext ( ref ulong seed,
int bits )
inlinestatic

Definition at line 2124 of file Utils.cs.

2125 {
2127 return (int)(seed >> 48 - bits);
2128 }
static ulong RandomNextSeed(ulong seed)
Definition Utils.cs:2130

References Terraria.Utils.RandomNextSeed().

Referenced by Terraria.Utils.RandomFloat(), and Terraria.Utils.RandomInt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: