Table of Contents

Class RandomExtensions

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

Extensions to the Random class for reimplementing native random functions (Dice and Ranges).

public static class RandomExtensions
Inheritance
RandomExtensions
Inherited Members

Methods

NextDouble(Random, double, double)

Returns a random double in the specified range.

NextFloat(Random)

Returns a random floating-point number that is greater than or equal to 0.0f, and less than 1.0f.

NextFloat(Random, float, float)

Returns a random float in the specified range.