RandomUtility

Namespace: uModUtilities

Assembly: uMod.Core.dll

Inheritance Object RandomUtility

Summary

Utility methods for random number generation

Constructors

Name

Summary

RandomUtility ()

Methods

Name

Summary

Range (Int32, Int32)

Returns a random integer which is bigger than or equal to min and smaller than max. If max equals min, min will be returned.

Range (Int32)

Returns a random integer which is bigger than or equal to 0 and smaller than max.

Range (Double, Double)

Returns a random double between min and max.

Range (Single, Single)

Returns a random float between min and max.