Table of Contents

Delegate MultiplayerPeer.PeerConnectedEventHandler

Namespace
Godot
Assembly
GodotSharp.dll

Represents the method that handles the PeerConnected event of a MultiplayerPeer class.

public delegate void MultiplayerPeer.PeerConnectedEventHandler(long id)

Parameters

id long
Represents the method that handles the event of a class.

Constructors

PeerConnectedEventHandler(object, IntPtr)

public PeerConnectedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(long, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(long id, AsyncCallback callback, object @object)

Parameters

id long
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(long)

public virtual void Invoke(long id)

Parameters

id long