Table of Contents

Delegate SceneMultiplayer.PeerPacketEventHandler

Namespace
Godot
Assembly
GodotSharp.dll

Represents the method that handles the PeerPacket event of a SceneMultiplayer class.

public delegate void SceneMultiplayer.PeerPacketEventHandler(long id, byte[] packet)

Parameters

id long
Represents the method that handles the event of a class.
packet byte[]
Represents the method that handles the event of a class.

Constructors

PeerPacketEventHandler(object, IntPtr)

public PeerPacketEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(long, byte[], AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(long id, byte[] packet, AsyncCallback callback, object @object)

Parameters

id long
packet byte[]
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(long, byte[])

public virtual void Invoke(long id, byte[] packet)

Parameters

id long
packet byte[]