NetManager.GetPeersNonAlloc Method

LiteNetLib

NetManagerGetPeersNonAlloc Method

LiteNetLib
Get copy of current connected peers (without allocations)

Namespace:  LiteNetLib
Assembly:  LiteNetLib (in LiteNetLib.dll) Version: 1.0.0.0
Syntax

C#
public void GetPeersNonAlloc(
	List<NetPeer> peers
)

Parameters

peers
Type: System.Collections.GenericListNetPeer
List that will contain result
See Also

Reference