Click or drag to resize

NetBufferReadRangedInteger Method (Int32, Int32)

Reads a 32 bit integer value written using WriteRangedInteger()

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public int ReadRangedInteger(
	int min,
	int max
)

Parameters

min
Type: SystemInt32
The minimum value used when writing the value
max
Type: SystemInt32
The maximum value used when writing the value

Return Value

Type: Int32
A signed integer value larger or equal to MIN and smaller or equal to MAX
See Also