Click or drag to resize

LiteNetManagerTryGetPeerById 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 bool TryGetPeerById(
	int id,
	out LiteNetPeer peer
)

Parameters

id  Int32
id of peer
peer  LiteNetPeer
resulting peer

Return Value

Boolean
if peer with id exist; otherwise
See Also