Click or drag to resize

LiteNetManagerGetPeersCount Method

Return peers count with connection state

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public int GetPeersCount(
	ConnectionState peerState
)

Parameters

peerState  ConnectionState
peer connection state (you can use as bit flags)

Return Value

Int32
peers count
See Also