Click or drag to resize

WebSocketMultiplayerPeerGetPeer Method

Returns the WebSocketPeer associated to the given peer_id.

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

Parameters

peerId
Type: SystemInt32

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

Return Value

Type: WebSocketPeer

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

See Also