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

◆ NextInt64() [2/3]

virtual long System.Random.NextInt64 ( long maxValue)
inlinevirtual

Reimplemented in System.Random.ThreadSafeRandom.

Definition at line 679 of file Random.cs.

680 {
681 if (maxValue < 0)
682 {
684 }
685 return _impl.NextInt64(maxValue);
686 }
static void ThrowMaxValueMustBeNonNegative()
Definition Random.cs:726
readonly ImplBase _impl
Definition Random.cs:631

References System.Random._impl, System.Random.ImplBase.NextInt64(), and System.Random.ThrowMaxValueMustBeNonNegative().