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

◆ NextInt64() [2/3]

override long System.Random.ThreadSafeRandom.NextInt64 ( long maxValue)
inlinevirtual

Reimplemented from System.Random.

Definition at line 56 of file Random.cs.

57 {
58 if (maxValue < 0)
59 {
61 }
62 return LocalRandom.NextInt64(maxValue);
63 }
static XoshiroImpl LocalRandom
Definition Random.cs:15
static void ThrowMaxValueMustBeNonNegative()
Definition Random.cs:726

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