NetRandom Constructor (Int32)
From Lidgren.Network
| Lidgren Network Library documentation |
| NetRandom Constructor (Int32) |
| NetRandom Class See Also Send Feedback |
Initialises a new instance using an int value as seed.
This constructor signature is provided to maintain compatibility with
System.Random
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
| C# |
|---|
public NetRandom( int seed ) |
| Visual Basic |
|---|
Public Sub New ( _ seed As Integer _ ) |
| Visual C++ |
|---|
public: NetRandom( int seed ) |
Parameters
- seed
- Type: System..::..Int32
[Missing <param name="seed"/> documentation for "M:Lidgren.Network.NetRandom.#ctor(System.Int32)"]