Developer Documentation

OdinHandler.GetPeer

Warning

Version 1.1.0 is deprecated and will be removed in the future and is not being supported for new users. Please update to the latest version as soon as possible.

public Peer GetPeer(string roomId, ulong peerId)

Gets the a Peer object from a specified room matching a peer ID

Info

Local seen Peers only, not

Parameters

NameTypeDescription
roomIdStringRoom identifier e.g name or token
peerIdUInt64peer ID

Returns

TypeDescription
PeerPeer or null