Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Random.ThreadSafeRandom Class Referencesealed

Public Member Functions

 ThreadSafeRandom ()
 
override int Next ()
 
override int Next (int maxValue)
 
override int Next (int minValue, int maxValue)
 
override long NextInt64 ()
 
override long NextInt64 (long maxValue)
 
override long NextInt64 (long minValue, long maxValue)
 
override float NextSingle ()
 
override double NextDouble ()
 
override void NextBytes (byte[] buffer)
 
override void NextBytes (Span< byte > buffer)
 

Protected Member Functions

override double Sample ()
 

Properties

static XoshiroImpl LocalRandom [get]
 
static Random Shared = new ThreadSafeRandom() [get]
 

Static Private Member Functions

static XoshiroImpl Create ()
 
static void ThrowMaxValueMustBeNonNegative ()
 
static void ThrowMinMaxValueSwapped ()
 

Private Attributes

readonly ImplBase _impl
 

Static Private Attributes

static XoshiroImpl t_random
 

Detailed Description

Definition at line 10 of file Random.cs.


The documentation for this class was generated from the following file: