Lidgren Network Library documentation |
NetBuffer..::..ReadRangedInteger Method |
NetBuffer Class See Also Send Feedback |
Reads a 32 bit integer value written using WriteRangedInteger()
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public int ReadRangedInteger( int min, int max ) |
Visual Basic |
---|
Public Function ReadRangedInteger ( _ min As Integer, _ max As Integer _ ) As Integer |
Visual C++ |
---|
public: int ReadRangedInteger( int min, int max ) |
Parameters
- min
- Type: System..::..Int32
The minimum value used when writing the value
- max
- Type: System..::..Int32
The maximum value used when writing the value