Click or drag to resize

WebSocketServerHasPeer Method

Returns true if a peer with the given ID is connected.

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

Parameters

id
Type: SystemInt32

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

Return Value

Type: Boolean

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

See Also