NextUInt Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Generates a uint. Values returned are over the full range of a uint, uint.MinValue to uint.MaxValue, inclusive. This is the fastest method for generating a single random number because the underlying random number generator algorithm generates 32 random bits that can be cast directly to a uint.

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public uint NextUInt()
Visual Basic
Public Function NextUInt As UInteger
Visual C++
public:
unsigned int NextUInt()

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetRandom.NextUInt"]

See Also