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

◆ Next() [3/3]

override int System.Random.ThreadSafeRandom.Next ( int minValue,
int maxValue )
inlinevirtual

Reimplemented from System.Random.

Definition at line 42 of file Random.cs.

43 {
44 if (minValue > maxValue)
45 {
47 }
48 return LocalRandom.Next(minValue, maxValue);
49 }
static XoshiroImpl LocalRandom
Definition Random.cs:15
static void ThrowMinMaxValueSwapped()
Definition Random.cs:731

References System.Random.ThreadSafeRandom.LocalRandom, and System.Random.ThrowMinMaxValueSwapped().