Click or drag to resize

WebRTCMultiplayerHasPeer Method

Returns true if the given peer_id is in the peers map (it might not be connected though).

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

Parameters

peerId
Type: SystemInt32

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

Return Value

Type: Boolean

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

See Also