Click or drag to resize

WebRTCMultiplayerGetPeer Method

Return a dictionary representation of the peer with given peer_id with three keys. connection containing the WebRTCPeerConnection to this peer, channels an array of three WebRTCDataChannel, and connected a boolean representing if the peer connection is currently connected (all three channels are open).

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Dictionary GetPeer(
	int peerId
)

Parameters

peerId
Type: SystemInt32

[Missing <param name="peerId"/> documentation for "M:Godot.WebRTCMultiplayer.GetPeer(System.Int32)"]

Return Value

Type: Dictionary

[Missing <returns> documentation for "M:Godot.WebRTCMultiplayer.GetPeer(System.Int32)"]

See Also