Click or drag to resize

NetPacketProcessorReadPacket(NetDataReader, Object) Method

Reads one packet from NetDataReader and calls OnReceive delegate

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

Parameters

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