Click or drag to resize

NetPacketProcessorReadAllPackets(NetDataReader, Object) Method

Reads all available data from NetDataReader and calls OnReceive delegates

Namespace: LiteNetLib.Utils
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public void ReadAllPackets(
	NetDataReader reader,
	Object userData
)

Parameters

reader  NetDataReader
NetDataReader with packets data
userData  Object
Argument that passed to OnReceivedEvent
Exceptions
ExceptionCondition
ParseExceptionMalformed packet
See Also