Lidgren Network Library documentation |
NetBuffer..::..WriteRangedInteger Method |
NetBuffer Class See Also Send Feedback |
Writes an integer with the least amount of bits need for the specified range
Returns number of bits written
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public int WriteRangedInteger( int min, int max, int value ) |
Visual Basic |
---|
Public Function WriteRangedInteger ( _ min As Integer, _ max As Integer, _ value As Integer _ ) As Integer |
Visual C++ |
---|
public: int WriteRangedInteger( int min, int max, int value ) |
Parameters
- min
- Type: System..::..Int32
[Missing <param name="min"/> documentation for "M:Lidgren.Network.NetBuffer.WriteRangedInteger(System.Int32,System.Int32,System.Int32)"]
- max
- Type: System..::..Int32
[Missing <param name="max"/> documentation for "M:Lidgren.Network.NetBuffer.WriteRangedInteger(System.Int32,System.Int32,System.Int32)"]
- value
- Type: System..::..Int32
[Missing <param name="value"/> documentation for "M:Lidgren.Network.NetBuffer.WriteRangedInteger(System.Int32,System.Int32,System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetBuffer.WriteRangedInteger(System.Int32,System.Int32,System.Int32)"]