NetSerializerReadAllPacketsT Method (NetDataReader, T) |
LiteNetLib |
Reads all available data from NetDataReader and calls OnReceive delegates
Namespace: LiteNetLib.Utils
Assembly: LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax
C#
public void ReadAllPackets<T>( NetDataReader reader, T userData )
Parameters
- reader
- Type: LiteNetLib.UtilsNetDataReader
NetDataReader with packets data - userData
- Type: T
Argument that passed to OnReceivedEvent
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:LiteNetLib.Utils.NetSerializer.ReadAllPackets``1(LiteNetLib.Utils.NetDataReader,``0)"]
See Also