Click or drag to resize

LiteNetManagerGetPeerById Method

Gets peer by peer id

Namespace: LiteNetLib
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public LiteNetPeer GetPeerById(
	int id
)

Parameters

id  Int32
id of peer

Return Value

LiteNetPeer
Peer if peer with id exist, otherwise null
See Also